Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/admin/web/danceberry.ru/public_html/blocks/db.php on line 3

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/admin/web/danceberry.ru/public_html/blocks/db.php on line 4

Warning: mysql_query(): A link to the server could not be established in /home/admin/web/danceberry.ru/public_html/blocks/db.php on line 4

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/admin/web/danceberry.ru/public_html/blocks/db.php on line 5

Ошибка подключения к БД
Код ошибки: 1

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