requete fatal = SELECT a.`id_actualite` FROM `actualite` a WHERE `en_ligne`=1 ORDER BY `ordre` DESC
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /var/www/html/jaime-oyonnax.fr/web/class/DataBase.php:21 Stack trace: #0 /var/www/html/jaime-oyonnax.fr/web/class/DataBase.php(21): PDO->__construct('mysql:host=loca...', 'oyonnax_website', 'wYLnPc4CupG34vt...', Array) #1 /var/www/html/jaime-oyonnax.fr/web/class/DataBase.php(38): DataBase::getConnexion() #2 /var/www/html/jaime-oyonnax.fr/web/class/generate/Actualite.php(153): DataBase::Lecture('SELECT a.`id_ac...', Array) #3 /var/www/html/jaime-oyonnax.fr/web/pages/actualites-oyonnax/infos.php(3): Actualite::getAllActualite('WHERE `en_ligne...') #4 {main} thrown in /var/www/html/jaime-oyonnax.fr/web/class/DataBase.php on line 21