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

SQL:
select from accueil where 1=1 AND accueil_id='1'