Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /www/dbc/web/scripts/login.php on line 2

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /www/wdel/web/includes/header.php on line 322

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /www/wdel/web/includes/header.php on line 324

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /www/wdel/web/includes/header.php on line 324
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)