diff --git a/reference/pdo/reference.xml b/reference/pdo/reference.xml index 32befb4fab..780fa24252 100644 --- a/reference/pdo/reference.xml +++ b/reference/pdo/reference.xml @@ -1,5 +1,5 @@ - + @@ -198,6 +198,15 @@ $dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass, array( + + + If you wish to use persistent connections, you must set + PDO::ATTR_PERSISTENT in the array of driver options + passed to the PDO constructor. If setting this attribute with + after instantiation of the + object, the driver will not use persistent connections. + + If you're using the PDO ODBC driver and your ODBC libraries support ODBC