Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1044] Access denied for user 'ecole2'@'%' to database 'ecole2' in /var/www/html/service.ecole/connexion.php:12 Stack trace: #0 /var/www/html/service.ecole/connexion.php(12): PDO->__construct() #1 /var/www/html/service.ecole/EtudiantDAO.php(7): include('...') #2 /var/www/html/service.ecole/etudiant.php(9): EtudiantDAO::listerEtudiants() #3 {main} thrown in /var/www/html/service.ecole/connexion.php on line 12