From b5b2622cc88023db55137a55df8dde78ea7aece5 Mon Sep 17 00:00:00 2001 From: Anthony Bedford Date: Thu, 26 Feb 2009 16:31:19 +0000 Subject: [PATCH] Added note that persistent connections are suported when using mysqlnd and libmysql. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276504 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/persistconns.xml | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/reference/mysqli/persistconns.xml b/reference/mysqli/persistconns.xml index c57cc7d8e5..142fbc479a 100644 --- a/reference/mysqli/persistconns.xml +++ b/reference/mysqli/persistconns.xml @@ -1,18 +1,18 @@ - + The mysqli Extension and Persistent Connections Persistent connection support was introduced in PHP 5.3 for the - mysqli extension. Support was already present in PDO - MYSQL and ext/mysql. The idea behind persistent connections is that a - connection between a client process and a database can be reused by a - client process, rather than being created and destroyed multiple - times. This reduces the overhead of creating fresh connections every - time one is required, as unused connections are cached and ready to be - reused. + mysqli extension. Support was already present in + PDO MYSQL and ext/mysql. The idea behind persistent connections is + that a connection between a client process and a database can be + reused by a client process, rather than being created and destroyed + multiple times. This reduces the overhead of creating fresh + connections every time one is required, as unused connections are + cached and ready to be reused. @@ -99,9 +99,21 @@ It is possible to switch off the automatic cleanup code, by compiling - PHP with MYSQLI_NO_CHANGE_USER_ON_PCONNECT defined. + PHP with + + MYSQLI_NO_CHANGE_USER_ON_PCONNECT + + defined. + + + The mysqli extension supports persistent + connections when using either MySQL Native Driver or MySQL Client + Library. + + +