Could not connect to server

Query failed: SELECT * FROM cuvinte_reclama where published=1Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)