Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/cooler/web/comment/db.php on line 6

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/cooler/web/comment/db.php on line 7

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /usr/home/cooler/web/comment/db.php on line 7

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/cooler/web/comment/db.php on line 8

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/cooler/web/comment/db.php on line 8

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/home/cooler/web/comment/db.php on line 17

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /usr/home/cooler/web/comment/db.php on line 42
Failed to execute query at line 110:
SQL: SELECT * from `articles` WHERE `art_filename`='cl300307.html' AND `art_anchor`='15' ;