From 28e9242331900e9ac4353d9c5d34fa22ab1b50f7 Mon Sep 17 00:00:00 2001 From: Daniel Egeberg Date: Sun, 17 Jan 2010 00:10:27 +0000 Subject: [PATCH] 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 --- reference/mysqli/persistconns.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/mysqli/persistconns.xml b/reference/mysqli/persistconns.xml index 58e73ac551..eb8fdd8b91 100644 --- a/reference/mysqli/persistconns.xml +++ b/reference/mysqli/persistconns.xml @@ -14,6 +14,12 @@ connections every time one is required, as unused connections are cached and ready to be reused. + + + Unlike the mysql extension, mysqli does not provide a separate function + for opening persistent connections. To open a persistent connection you + must prepend p: to the hostname when connecting. + The problem with persistent connections is that they can be left in