Configure MySQL server to use TCP connections instead of Unix sockets?

Tuesday, July 28, 2009 posted by Till

Comment out the option:

skip-networking

in the file:

my.cnf

which typically lies in the directory /etc or /etc/mysql.

Then restart your MySQL server:

/etc/rc.d/init.d/mysql restart

or

/etc/init.d/mysql restart

with the command:

netstat -ta

you can check if MySQL is reachable via TCP.



Leave a Reply

*