Published by exdone
Posted on April 12, 2008
Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock
under cpanel , i had to first locate the correct mysql.sock file by running
find / | grep “sock”
and them created a symlink to that lock file from the /var/tmp folder
The strange that is the my.cnf files claims the sock file is located at /var/lib/mysql/mysql.sock and if I commented this out or change it . mysql will not start again .. strange ….