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:

service mysql restart

or

/etc/init.d/mysql restart

with the command:

netstat -ta

you can check if MySQL is reachable via TCP.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*