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

SELECT * FROM languages WHERE active = 1 ORDER BY id