svn: /phpdoc/en/trunk/reference/mysqli/ persistconns.xml
| From: | Daniel Egeberg | Date: | Sun, 17 Jan 2010 00:10:27 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqli/ persistconns.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5874@lists.php.net to get a copy of this message | ||
degeberg Sun, 17 Jan 2010 00:10:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293632
Log:
Clarifying how to use persistent connections in mysqli.
Changed paths:
U phpdoc/en/trunk/reference/mysqli/persistconns.xml
Modified: phpdoc/en/trunk/reference/mysqli/persistconns.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/persistconns.xml 2010-01-16 22:27:39 UTC (rev 293631)
+++ phpdoc/en/trunk/reference/mysqli/persistconns.xml 2010-01-17 00:10:27 UTC (rev 293632)
@@ -14,6 +14,12 @@
connections every time one is required, as unused connections are
cached and ready to be reused.
</para>
+
+ <para>
+ Unlike the mysql extension, mysqli does not provide a separate function
+ for opening persistent connections. To open a persistent connection you
+ must prepend <literal>p:</literal> to the hostname when connecting.
+ </para>
<para>
The problem with persistent connections is that they can be left in