Having trouble figuring out why this is happening:
In Beginning PHP Tutorial - 187 - Custom Exceptions -- I test it with changing "root" to "somethingelse" for $mysql_user, and the exception goes to "Can not connect to the database" instead of "Can not connect to the server". My coding mirrors Alex's. Please help