note 65887 rejected from ref.pdo-mysql by bjori
| From: | bjori@php.net | Date: | Wed, 10 May 2006 00:58:48 +0000 |
| Subject: | note 65887 rejected from ref.pdo-mysql by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-111010@lists.php.net to get a copy of this message | ||
Note Submitter: rolf at winmutt dot com
----
(this should apply to >4.1 mysql)
Someone should proabably note that you should turn off PDO::MYSQL_ATTR_DIRECT_QUERY as by default it
appears to be on and will cause all queries to be prepared. Which in most web applications is more
of a hinderance than anything else.
I also found that not using persistent connections led to continuous segfaults and many headaches.