note 83047 added to ref.pdo
| From: | h dot nieser at xs4all dot nl | Date: | Thu, 08 May 2008 04:20:25 +0000 |
| Subject: | note 83047 added to ref.pdo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139166@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 213.249.64.162
Probable Submitter: 82.95.196.102
----
Manual Page -- http://www.php.net/manual/en/ref.pdo.php
Edit -- https://master.php.net/note/edit/83047
Del: integrated -- https://master.php.net/note/delete/83047/integrated
Del: useless -- https://master.php.net/note/delete/83047/useless
Del: bad code -- https://master.php.net/note/delete/83047/bad+code
Del: spam -- https://master.php.net/note/delete/83047/spam
Del: non-english -- https://master.php.net/note/delete/83047/non-english
Del: in docs -- https://master.php.net/note/delete/83047/in+docs
Del: other reasons-- https://master.php.net/note/delete/83047
Reject -- https://master.php.net/note/reject/83047
Search -- https://master.php.net/manage/user-notes.php