Skip to main content

Timeline for answer to How to handle PDO exceptions by Matchu

Current License: CC BY-SA 2.5

Post Revisions

7 events
when toggle format what by license comment
Feb 21, 2015 at 12:05 comment added AntonSack Matchu, thanks a ton, I was already ripping off my hair because I could not get the try / catch to run. You made my day!
Jan 20, 2010 at 21:05 comment added Alix Axel @Matchu: Yeah you're right, thanks. Still PDO::__construct() throws a PDOException if the attempt to connect to the requested database fails.
Jan 20, 2010 at 20:14 comment added Matchu Found it - us3.php.net/manual/en/pdo.error-handling.php - "PDO::ERRMODE_SILENT - This is the default mode."
Jan 20, 2010 at 20:13 comment added Matchu Since I last built a database class a month ago or so. At least in my environment, silent mode was default.
Jan 20, 2010 at 20:09 comment added Alix Axel @Matchu: This is the default behavior? Since when?!
Jan 20, 2010 at 20:03 vote accept vitto
Jan 20, 2010 at 20:02 history answered Matchu CC BY-SA 2.5