Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/edge/public_html/caffeine/_lib/db_mysql.php on line 28

Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)' in /home/edge/public_html/caffeine/_lib/db_mysql.php:29 Stack trace: #0 /home/edge/public_html/caffeine/_lib/caffeine.php(72): DB->connect() #1 /home/edge/public_html/caffeine/_lib/caffeine.php(292): Caffeine->__construct() #2 /home/edge/public_html/index.php(3): require_once('/home/edge/publ...') #3 {main} thrown in /home/edge/public_html/caffeine/_lib/db_mysql.php on line 29