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/vhosts/projet-tp.com/httpdocs/config.inc.php:37 Stack trace: #0 /var/www/vhosts/projet-tp.com/httpdocs/config.inc.php(37): PDO->__construct('mysql:host=loca...', 'projettp2', 'bea1989', Array) #1 /var/www/vhosts/projet-tp.com/httpdocs/menus/head_information_1erPartie.php(7): require('/var/www/vhosts...') #2 /var/www/vhosts/projet-tp.com/httpdocs/index.php(377): require('/var/www/vhosts...') #3 {main} thrown in /var/www/vhosts/projet-tp.com/httpdocs/config.inc.php on line 37