note 121996 added to class.pdo
| From: | sinri at everstray dot com | Date: | Thu, 07 Dec 2017 15:38:52 +0000 |
| Subject: | note 121996 added to class.pdo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209335@lists.php.net to get a copy of this message | ||
For some Database Environment, such as Aliyun DRDS (Distributed Relational Database Service), cannot
process preparing for SQL.
For such cases, the option
\PDO::ATTR_EMULATE_PREPARES should be set to true. If you
always got reports about "Failed to prepare SQL" while this option were set to false, you
might try to turn on this option to emulate prepares for SQL.
----
Server IP: 208.43.231.9
Probable Submitter: 125.121.196.14
----
Manual Page -- http://php.net/manual/en/class.pdo.php
Edit -- https://master.php.net/note/edit/121996
Del: integrated -- https://master.php.net/note/delete/121996/integrated
Del: useless -- https://master.php.net/note/delete/121996/useless
Del: bad code -- https://master.php.net/note/delete/121996/bad+code
Del: spam -- https://master.php.net/note/delete/121996/spam
Del: non-english -- https://master.php.net/note/delete/121996/non-english
Del: in docs -- https://master.php.net/note/delete/121996/in+docs
Del: other reasons-- https://master.php.net/note/delete/121996
Reject -- https://master.php.net/note/reject/121996
Search -- https://master.php.net/manage/user-notes.php