PDA

View Full Version : i got this error only in one day



bela-meaad
Tue 10th Apr '07, 10:24am
hello

i got like 30 errors
in the same time


mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)
/home/ssmarket/public_html/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Tuesday, April 10th 2007 @ 03:54:15 AM
Script : http://www.ssmarket.net/t21076-post243471
Referrer : http://www.ssmarket.net/t21076-post243471
IP Address : 58.61.164.142 (http://58.61.164.142/)
Username :
Classname : vb_database
any idea?

Boxy
Tue 10th Apr '07, 10:37am
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/Can_not_connect_to_server.html (http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html)