How do I make my MySQL server use TCP connections instead of Unix sockets?
|
Comment out the option skip-networking in the file my.cnf which typically lies under /etc or /etc/mysql. Then restart your MySQL server: /etc/rc.d/init.d/mysql restart or /etc/init.d/mysql restart With netstat -ta you can check if MySQL is reachable via TCP.
|







Recent comments
12 hours 19 min ago
12 hours 23 min ago
16 hours 25 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 14 hours ago
2 days 13 hours ago
2 days 15 hours ago
2 days 19 hours ago
4 days 55 min ago