mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Clarifying how to use persistent connections in mysqli.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293632 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
91224d7744
commit
28e9242331
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue