requete fatal = SELECT a.`id_infaux` FROM `infaux` 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/Infaux.php(142): DataBase::Lecture('SELECT a.`id_in...', Array) #3 /var/www/html/jaime-oyonnax.fr/web/pages/actualites-oyonnax/infaux.php(3): Infaux::getAllInfaux('WHERE `en_ligne...') #4 {main} thrown in /var/www/html/jaime-oyonnax.fr/web/class/DataBase.php on line 21