General :: Changing Mysql Default Port?

Jul 19, 2011

I'm trying to change the default mysql port with no success. I looked at my.cnf file and there's no reference to port. I also looked at the iptables and mysql is running on 3306 (default).I've changed the iptable file but mysql fails to restart.If I add port = [my port number] to the my.cnf file, mysql fails to start.

View 4 Replies


ADVERTISEMENT

CentOS 5 Server :: Changing Default Mysql Port As 80 From 3306

Feb 2, 2009

I want to change my MySQL default port(3306) as 80 how can i do this on centOS 5.2? I tired to add

[client]
port=80

to /etc/my.cnf and different command in this file. But mysql didn't start. How can do this? I'll use server only as mysql and ftp server.

View 13 Replies View Related

General :: Changing SSH Default Port?

Apr 20, 2010

is it a bad idea to change SSH's default port (22) to a different port number

View 5 Replies View Related

Fedora Networking :: FTP Server - Changing Default Port 21

Nov 25, 2010

Now that I've set up an FTP server here at home I'm thinking that it might be a good idea to change from the default Port 21 to something else. Can I use any port I desire or are there only certain ports that support this protocol?

View 14 Replies View Related

General :: Mysql Not Starting After Changing Mysql Admin Password In Fedora?

Feb 19, 2010

Mysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.

View 1 Replies View Related

General :: Changing The SSH Port Number?

Jan 12, 2011

im using CentOS 5.2 and cant change my default ssh port number. I have edited /etc/ssh/sshd_config to this

Code:

#$OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files

[code]....

I have then restarted ssh by typing (as root) "sbin/service sshd restart" and it restarts fine but still is on 22 and not 222.

View 9 Replies View Related

General :: Changing Default UMASK Value?

Jan 15, 2010

I am attempting to modify the default umask value under all accounts on my linux system to 002. This will hopefully allow both the account and the account's group access to the created files.

I have modified it within /etc/bashrc, however it seems to be making no difference on this default value. The files I create through "File Browser" all have the access rights set to 600.

Is there any error here, as all evidence I can find on the internet points to the bashrc file.

View 1 Replies View Related

General :: Changing The Default Welcome Message?

Nov 22, 2010

When the computer boots in Slackware 13.1 i get the default welcome message: "Welcome to Linux 2.6.33.4-smp (tty1)". How do i change it?

View 2 Replies View Related

General :: Connecting To Mysql Database Remotely Via Port 3306 ?

Jul 23, 2011

I'm new to linux, and setting up the mysql database server.

Here are my situation:

OS: CentOS 6
mysql version: 5.5

I tried to use MySQL Administrator to connect to my database on the host 192.168.1.120
and my computer is under the same network with ip: 192.168.1.105

But it shows the error msg: Could not connect to MySQL instance at 192.168.1.120

Error: Can't connect to MySQL server on '192.168.1.120'(61)(code 2003)

On the server side I've tried:

Code:

skip_networking is off and I've set the port for it.

When I check the process in OS:

Code:

When I try netstat:

Code:

I thought it's the problem of firewall, so I have check it also:

Code:

View 3 Replies View Related

General :: Changing Default User Start Directory?

Jul 4, 2009

I would like to change the start directory, the directory at which ftp/shell points to when the user logs in.

View 1 Replies View Related

General :: Changing Default Audio Device In Pulseaudio?

Jun 5, 2011

I would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have only stereo output connected). Although Pulseaudio has the right card set as default, it seems to me that it plays on a wrong device. Pacmd shows that the sink has parameter alsa.device set to the first device listed by ALSA, but I can get sound only from the second one.How can I force Pulseaudio to use another device of the same card as a default output?

View 2 Replies View Related

General :: Change The Default Port Of Ssh That Is 22?

May 26, 2010

How can I change the default port of ssh that is 22? Because of security issue I just want to give some other port.

View 3 Replies View Related

General :: Removing Default Mysql On Slackware 13?

May 11, 2010

I was playing around the default mysql that comes with Slackware 13, and I think I broke it somehow. I don't want to fix it, I'd like to start from scratch, building from source and everything, but first I have to remove this broken installation. How can I do this?

View 1 Replies View Related

Ubuntu :: Changing Default Studio Appearance To Default?

Sep 28, 2010

I was using ubuntu 10.04 till yesterday.. and due to hdd crash i have changed my hdd.

while looking for my installation disc, my wall-mate gives me this Ubuntu Studio dvd and instead of downloading a new one, i have installed the studio. at the first sight ... i am being a fond of studio version .. its really cool.

now, i am quite habituated with default appearance of ubuntu, i found studio appearance is quite unusual (for me, menu layouts, panel everything).

I would like to know how do i change this default appearance like ubuntu default 10.04 appearance. I am attaching a screen-shoot of my friends desktop, he upgraded his ubuntu thru apptitude update.

View 9 Replies View Related

General :: Changing The Default Application To Open Files - Ubuntu 11.04

Jun 30, 2011

I want to change the application that opens my mp3 files.

At present if I double click an mp3 it opens in the movie viewer for some reason. I know I can use "open with..." to get a file to open in Rythymbox instead, but I have over 800 mp3 files and want to change the default for all of them.

View 1 Replies View Related

General :: How To Change Default Database For One User In MySQL

Sep 12, 2011

Though this might seem like a [URL] question at first glance I don't think it is. I have a mysql database on a server at work. Every time I log in to execute a query, I have to manually select the one database I want from the one database I have, which is a waste of time. Is there any way for me as an end user to set a default?

View 2 Replies View Related

General :: Changing Grub Boot Order And Make Win7 Default

Aug 13, 2010

I recently upgraded to Ubuntu 10.04 from earlier versions. I have a dual boot system with Windows 7. Grub was set to boot Windows by default Things were working fine. I decided to upgrade to Grub2. It seemed like a good idea at the time. Now when booting up,the name at the top of the Grub menu is 1.98, which is Grub 2. When I run grub-install -v, it comes back grub-install (GNU GRUB 0.97) which is not Grub2. Now when I boot up, Ubuntu 10.04 is the default. I have to manually choose Windows if I want to use that system. I have been unable to change the boot order following instructions from this site. Any Way changing the boot order to make Windows 7 the default. I am using a Toshiba Satellite.

View 5 Replies View Related

General :: Set Default System Audio Output Port (for All Accounts)?

May 5, 2010

The default output audio port Ubuntu doesn't work on my system. It should be "Analog Mono Output/Amplifier", instead of "Analog Output/Amplifier". I can easily change that in sound preferences, just by choosing the right port in the "Output" tab. The problem is this would only apply to a single account, and I would like to change it system-wide, so it applies to all accounts on the system (I have more than 100 users...).

Update: I can achieve the same effect as I would by changing it in sound preferences using the following command: pacmd 'set-sink-port' 'alsa_output.pci-0000_00_1f.5.analog-stereo analog-output-mono;output-amplifier-on' Unfortunately that's still not system-wide,

View 2 Replies View Related

General :: "Lost Connection To MySQL Server" When Using Different Port?

Apr 28, 2011

I'm getting the following error on my webpage :Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/vhosts/...When I use the default MySQL port 3306, then I have no error.But when I use port 33060, then I get the error !My /etc/my.cnf :

Code:
[mysqld]
datadir = /var/lib/mysql

[code]...

View 1 Replies View Related

General :: Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

Jun 2, 2010

i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error

[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.

[code]....

i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.

View 9 Replies View Related

Red Hat / Fedora :: Changing The Port Number To Something Like 81?

Jan 16, 2011

i have installed CentOS along with ISPConfig. For some reason apache will not run it says there are no listening sockets avaliable. I have done a netstat and also tried nmap to see if any other service was using port 80 but it doesnt show anything. I also tried changing the port number to something like 81 still no go. On bootup of CentOS it shows the error and a message saying unable to open logs.

View 1 Replies View Related

Fedora Servers :: Changing MySQL Datadir?

Aug 16, 2009

Has anyone been able to successfully change MySQL's default datadir in Fedora? I've tried on two machines now (F7 and F11), but run into the same problem on both. Here is what I did:

1. shutdown MySQL (service mysqld stop)
2. create new mysql directory (e.g. ~/mysql/) and set ownership to mysql:mysql
3. move tables from /var/lib/mysql to the new directory (I've tried moving only one user-created table, and also moving system tables with same result).
4. edit my.cnf and change "datadir" to point to new location
5. start MySQL (service mysqld start)

[Code]...

View 7 Replies View Related

Fedora :: Changing Smpt Port In Evolution?

May 27, 2010

setting it up to handle one of my email accounts as a start, i can get evolution to receive mail but not to send. in outlook, i have to change the smtp port from 25 to 587 for high-speed connections. otherwise the server blocks, and i feel sure that's what's causing my problem in evolution: i can't find where to change the port to 587.looking through some other posts here, it seems like it may not be possible through the evolution gui. if not, are there things i can enter from the terminal that will carry over into evolution settings? if there are (or better: if it can be done in evolution after all

View 2 Replies View Related

Ubuntu Servers :: Changing Port Number

Aug 4, 2010

I would like to change port number for a specific folder name on linux server like domain.com/folder_name:yyyy so people can access that folder with pre defined port number. is there a way that I can do that?

View 2 Replies View Related

Ubuntu Servers :: Changing Site Port From 80?

Jun 2, 2011

Right now my server is being used as a Minecraft server. I have a site hosted on it, but my ISP blocks port 80, so I'm the only one who is able to view the site. I want to be able to change the port the site is on so that anyone can view it. I've looked it up and apparently that is possible; however, I haven't found out how to do it. I've changed the ports.conf file in /etc/apache2 and the default file in /etc/apache2/sites-available, but it didn't work. All that did was take my site off of 80, but it did not put it on the new port I specified. What exactly do I have to change so that when I go to mysite:port, it loads my website?

EDIT: Also, just for extra information, the two ports I tried were 8080 and 81.

View 4 Replies View Related

Security :: Deny Host When Changing SSH Port 22

Oct 30, 2010

I have an Asterisk on an externally hosted vServer with Lenny. In order to further protect the SSH access I intended to change the Port number 22 to something like 55555. For this I changed the /etc/ssh/sshd_config file and restarted ssh. This caused unfortunately the following problems:

(1) The first login works but DenyHost writes now the IP in its list so that the second login with the same IP is blocked.

(2) With RESET_ON_SUCCESS = yes several logins were possible with the same IP, but later it also was blocked for some still unknown reasons.

(3) Files can be uploaded for being edited, but they can't always be saved. When they can't be saved the next login with this IP is blocked. It thus looks like the blocking can occur while being connected. When the files can't be saved it is however still possible to copy files from the computer to the vServer.

I add below the entries in the auth.log from a logout and a login. It shows further how suddenly the attempts to save files were blocked. After this session the IP used for it was blocked. I don't know where the message "Unable to open env file: /etc/default/locale" comes from. If I remember right I had these messages already before. I don't know how much that is really important.

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Changing Apache Port Gives Error

Jan 5, 2011

My ISP Blocks port 80 so I changed the port to 8081 after I do this and restart Apache and use my IP with :8081 after I get a page saying Not Found The requested URL /index.html was not found on this server. I get this same message if I use my real IP or the IP from my router. What can be causing this?

View 2 Replies View Related

Red Hat / Fedora :: Changing Outgoing DNS (port 53) IP Address With Iptables?

Mar 31, 2009

I need to know what the Iptables "code" is to change the outgoing/Incoming IP for port 53 (DNS). I'm running CentOS on a dedicated server. I very familiar with Putty and SSH. So I don't need much details, I just can't figure this out. I asked my server providor but they deleted my ticket and didn't answer me.I tried this but am not sure if this correct of working?

View 5 Replies View Related

Security :: Restrict Sftp Access And Changing Its Port?

Mar 17, 2010

I tried changing the sftpserver port but its not working, besides how can i restrict users from particular ips.Eg: users a can ssh from 192.168.*.*user b can sftp from 200.*.*

View 2 Replies View Related

Ubuntu Servers :: Changing The Datadir In My.cnf Stops Mysql To Restart On 9.10

Feb 9, 2010

I am trying to change the datadir in my.cnf and try to point it to different location where my database are residing.I have the permission to write on this directory.

datadir = /home/glucose/mysql
#datadir = /var/lib/mysql

if I do ls on my database location.Here is the result

root@bilal-laptop:~# ls -la /home/glucose/mysql
total 20512
drwxr-xr-x 7 mysql mysql 4096 2010-02-09 16:30 .

[Code]....

Because of which I am not able to start mysql. I am not able to locate actual log file as well.I looked at few log files they don't seem to tell me anything.But I am not sure which one I should be looking at as there are quite a few related to mysql.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved