note 83047 deleted from book.pdo by googleguy

From: Date: Tue, 22 Oct 2013 08:01:51 +0000
Subject: note 83047 deleted from book.pdo by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196742@lists.php.net to get a copy of this message
Note Submitter: h dot nieser at xs4all dot nl ---- Something to be aware of: when dynamically using different database drivers (in my case this was PostgreSQL and MySQL, I have not tested any others) and persistent connections, the error-mode will for some reason not always be PDO::ERRMODE_SILENT by default when using the MySQL database driver. The only way I was able to get a consistent PDO::ERR_MODE between PostgreSQL and MySQL was by either explicitly setting the error mode, or just disabling persistent connections.

« previous php.notes (#196742) next »