Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/d40052/public_html/inc/db.php on line 7

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/d40052/public_html/inc/db.php on line 7

Warning: mysql_set_charset() [function.mysql-set-charset]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/d40052/public_html/inc/db.php on line 8

Warning: mysql_set_charset() [function.mysql-set-charset]: A link to the server could not be established in /home/d40052/public_html/inc/db.php on line 8
Error: Unable to set the character set.