Error!

SELECT charset, prefix FROM languages WHERE id_lng = 1

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