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

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

Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in /home/tamdinle/public_html/db.php on line 9

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

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/tamdinle/public_html/db.php on line 12
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)