Sample Header Ad - 728x90

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

4 votes
5 answers
9694 views
I tried restarting the Mysql server but its not working for me. I am sure the server is running and the permissions on the folder /var/lib/mysql/ are correct (777). When i tried to open the file mysql.sock, its giving me an error saying the file may be corrupt. Please help me to log on to the mysql server.
Asked by vinny (565 rep)
Jan 20, 2012, 04:33 AM
Last activity: Aug 2, 2024, 01:25 PM