Web Hosting Talk







View Full Version : mysql.sock problems


AtoZ
10-07-2004, 07:03 PM
I have searched for information about this, but I can't seem to find the answer to my problem...

msyqld is running, however, mysql.sock is missing.

I am unsure how to get mysql working again... I initially was having too many connections with mysql and restarted. It stopped, but never seemed to start. Like I said, it shows it is running, but I can't connect because:

ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

This is the location specified in the my.cnf file, and everything was working fine before. I'm not sure what to try.

Any suggestions would be appreciated.

Thanks!

Angel78
10-07-2004, 07:15 PM
I "solved" issue like that few months ago by rebooting the server.

AtoZ
10-07-2004, 07:23 PM
Thanks... That did work. :)