| ( ! ) 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 on line 33 |
| ( ! ) PDOException: SQLSTATE[HY000] [1045] Access denied for user 'cook'@'localhost' (using password: YES) in /var/www/html/php7cookbook/source/Application/Database/Connection.php on line 33 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0005 | 359896 | {main}( ) | .../chap_13_unit_test_vistor_ops.php:0 |
| 2 | 0.0006 | 360384 | VisitorOps->__construct( $config = ['driver' => 'mysql', 'host' => 'localhost', 'dbname' => 'php7cookbook_test', 'user' => 'cook', 'password' => 'book', 'errmode' => 2] ) | .../chap_13_unit_test_vistor_ops.php:19 |
| 3 | 0.0006 | 360440 | Application\Database\Connection->__construct( $config = ['driver' => 'mysql', 'host' => 'localhost', 'dbname' => 'php7cookbook_test', 'user' => 'cook', 'password' => 'book', 'errmode' => 2] ) | .../VisitorOps.php:15 |
| 4 | 0.0006 | 361064 | __construct( $dsn = 'mysql:host=localhost;dbname=php7cookbook_test;user=cook;password=book;errmode=2', $username = 'cook', $password = '[Sensitive Parameter]', $options = [3 => 2] ) | .../Connection.php:33 |