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)
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?