Errors in PHP

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
nhan
Forum Commoner
Posts: 95
Joined: Sun Feb 27, 2005 8:26 pm
Contact:

Errors in PHP

Post 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!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

database could be offline, could have a failure.. check with your host.
User avatar
nhan
Forum Commoner
Posts: 95
Joined: Sun Feb 27, 2005 8:26 pm
Contact:

Post 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!
Post Reply