Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/helpwith/public_html/includes/DbConnector.php on line 25

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/helpwith/public_html/includes/DbConnector.php on line 26

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/helpwith/public_html/includes/DbConnector.php on line 26
Unhandled Exception.
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
You can find the error back in the log.
Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/helpwith/public_html/includes/DbConnector.php on line 54