note 65887 added to ref.pdo-mysql

From: Date: Tue, 09 May 2006 21:51:10 +0000
Subject: note 65887 added to ref.pdo-mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-110967@lists.php.net to get a copy of this message
(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. ---- Server IP: 64.71.164.2 Probable Submitter: 66.115.128.132 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.pdo-mysql.php Edit -- http://master.php.net/note/edit/65887 Del: integrated -- http://master.php.net/note/delete/65887/integrated Del: useless -- http://master.php.net/note/delete/65887/useless Del: bad code -- http://master.php.net/note/delete/65887/bad+code Del: spam -- http://master.php.net/note/delete/65887/spam Del: non-english -- http://master.php.net/note/delete/65887/non-english Del: in docs -- http://master.php.net/note/delete/65887/in+docs Del: other reasons-- http://master.php.net/note/delete/65887 Reject -- http://master.php.net/note/reject/65887 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#110967) next »