Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/bensonin/public_html/classes/db.php on line 15

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/bensonin/public_html/classes/db.php on line 18

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/bensonin/public_html/classes/categories.php on line 10

Warning: mysql_query(): A link to the server could not be established in /home/bensonin/public_html/classes/categories.php on line 10
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)