PDOException Object ( [message:protected] => SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) [string:Exception:private] => [code:protected] => 1045 [file:protected] => /var/www/html/syllabus2019/db/dbfunctions.php [line:protected] => 17 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/html/syllabus2019/db/dbfunctions.php [line] => 17 [function] => __construct [class] => PDO [type] => -> ) [1] => Array ( [file] => /var/www/html/syllabus2019/db/dbqueries.php [line] => 13 [function] => __construct [class] => DBFunctions [type] => -> ) [2] => Array ( [file] => /var/www/html/syllabus2019/revision.php [line] => 4 [function] => __construct [class] => DBQueries [type] => -> ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => HY000 [1] => 1045 [2] => Access denied for user 'root'@'localhost' (using password: YES) ) )