Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'cook'@'localhost' (using password: YES) in /var/www/html/php7cookbook/source/Application/Database/Connection.php:36 Stack trace: #0 /var/www/html/php7cookbook/source/Application/Database/Connection.php(36): PDO->__construct() #1 /var/www/html/php7cookbook/source/chapter13/VisitorOps.php(15): Application\Database\Connection->__construct() #2 /var/www/html/php7cookbook/source/chapter13/chap_13_unit_test_vistor_ops.php(19): VisitorOps->__construct() #3 {main} thrown in /var/www/html/php7cookbook/source/Application/Database/Connection.php on line 36