PDO error: could not connect to DB, error: PDOException: SQLSTATE[HY000] [1045] Access denied for user 'test'@'localhost' (using password: YES) in /var/www/html/example/ajax/database-students.php:10 Stack trace: #0 /var/www/html/example/ajax/database-students.php(10): PDO->__construct() #1 /var/www/html/example/ajax/5-newStudentInfo.php(1): require('...') #2 {main}