Warning: 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() expects parameter 2 to be resource, boolean given in /www/wdel/web/print.php on line 50

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /www/wdel/web/print.php on line 52

Warning: mysql_query(): A link to the server could not be established in /www/wdel/web/print.php on line 52
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)