My application was fine one moment, able to access and modify records in the MySQL database. But at the next moment,
the following error is displayed:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to
local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in
/home/cyberzen/public_html/listRecords.php on line 17
Could not
connect to MySQL
Tried logging on to phpAdmin, but could not go in as well
the following error is displayed:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to
local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in
/home/cyberzen/public_html/listRecords.php on line 17
Could not
connect to MySQL
Tried logging on to phpAdmin, but could not go in as well