Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' in /var/www/php/Fonction_PHP/insert_db_POST_var.php:5 Stack trace: #0 /var/www/php/Fonction_PHP/insert_db_POST_var.php(5): PDO->__construct() #1 {main} thrown in /var/www/php/Fonction_PHP/insert_db_POST_var.php on line 5