Force MySQL to use only unix socket
mysql, unix-socket
Solution
It turns that I saved the file as `my.conf` , witch it should be `my.cnf`, and that is why the server was only load and use the default configuration.
Problem
I want my MySQL server to only use unix socket, and ignore the TCP networking, so I added this line to my configuration `/etc/my.cnf`: ``` skip-networking ``` But `netstat` show me that MySQL still using TCP port 3306: ``` # netstat -tl | grep mys tcp 0 0 *:mysql *:* LISTEN ```