diff --git a/reference/pdo/connections.xml b/reference/pdo/connections.xml index e531aa3e41..95c10786b8 100644 --- a/reference/pdo/connections.xml +++ b/reference/pdo/connections.xml @@ -1,5 +1,5 @@ - + Connections and Connection management @@ -109,6 +109,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