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 /home/fleurdepf/fleurdepapier/sandbox/rouen/modele/Modele.php:25
Stack trace:
#0 /home/fleurdepf/fleurdepapier/sandbox/rouen/modele/Modele.php(25): PDO->__construct('mysql:host=loca...', 'root', 'root')
#1 /home/fleurdepf/fleurdepapier/sandbox/rouen/modele/Modele.php(38): Modele->getBDD()
#2 /home/fleurdepf/fleurdepapier/sandbox/rouen/modele/Page.php(223): Modele->requeteSelectPage('SELECT TITRE, C...', 1)
#3 /home/fleurdepf/fleurdepapier/sandbox/rouen/controleur/controleur.php(26): Page->getAccueil()
#4 /home/fleurdepf/fleurdepapier/sandbox/rouen/index.php(102): afficheAccueil()
#5 {main}
thrown in /home/fleurdepf/fleurdepapier/sandbox/rouen/modele/Modele.php on line 25