Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

'function.mysql-query'>function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/markfarn/public_html/cm2_scripts/contents.php on line 39

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/markfarn/public_html/cm2_scripts/contents.php on line 39

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/markfarn/public_html/cm2_scripts/contents.php on line 40

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/markfarn/public_html/cm2_scripts/contents.php on line 42

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/markfarn/public_html/cm2_scripts/contents.php on line 42

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/markfarn/public_html/cm2_scripts/contents.php on line 45
total=0
Warning: mysql_close(): no MySQL-Link resource supplied in /home/markfarn/public_html/cm2_scripts/contents.php on line 93