Page 1 of 1

Errors in PHP

Posted: Wed Aug 10, 2005 7:36 pm
by nhan
My scripts is perfectly working, then this morning i cant use the script anymore, checked on my database (mysql) but i cant connect to the database, the error displays on the database and the browser :

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

what seems to be the problem?

thanks!

Posted: Wed Aug 10, 2005 7:37 pm
by feyd
database could be offline, could have a failure.. check with your host.

Posted: Wed Aug 10, 2005 7:51 pm
by nhan
hmmm... already checked the host, mysql is running, the server is up, no downtime was logged on my monitoring.. are there any other reasons for this errors?

thanks!