Created
June 30, 2012 21:13
-
-
Save ss23/3025545 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ss23@win:~$ cat test.php | |
<?php | |
$pdo = new PDO("mysql:host=shard1.tempestintheaether.org;port=5673;dbname=nel", 'foo', 'bar'); | |
ss23@win:~$ php test.php | |
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'foo'@'120.138.30.26' (using password: YES)' in /home/ss23/test.php:3 | |
Stack trace: | |
#0 /home/ss23/test.php(3): PDO->__construct('mysql:host=shar...', 'foo', 'bar') | |
#1 {main} | |
thrown in /home/ss23/test.php on line 3 | |
ss23@win:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment