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

SELECT id, special_page, url FROM pages