Запрос: set names "cp1251"
Ошибка: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)