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

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/quizzone/public_html/_connect.php on line 3
Can't use foo : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)