Here is what the manual says:
Common MySQL Error Messages
Quote:
Socket Connection Error
This most commonly looks like this:
Code:
mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(2) /home/exampledomain/public_html/forums/includes/class_core.php on line 273
This error means either:
1. The info in your config.php file is wrong (in which case your forums wouldn't work at all), or
2. MySQL crashed, it's not running or it can't find the socket. You need to contact your host about this. Here is more info on this error:
http://dev.mysql.com/doc/mysql/en/Ca...to_server.html
|