Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/web/public_html/class.SQL.php on line 27

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/web/public_html/class.SQL.php on line 71
Query failed (2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)