Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/fonstola/public_html/blocks/bd.php on line 2

Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in /home/fonstola/public_html/blocks/bd.php on line 3

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/fonstola/public_html/blocks/bd.php on line 4

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/fonstola/public_html/image.php on line 19

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

Запрос на выборку из базы не прошел.
Код ошибки:

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