note 104266 added to function.mysql-pconnect
| From: | shane at osu1 dot php dot net | Date: | Sat, 04 Jun 2011 19:35:01 +0000 |
| Subject: | note 104266 added to function.mysql-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180258@lists.php.net to get a copy of this message | ||
The new mysqlnd library, which replaces the old libmysql, should make disappearing connections a
thing of the past. It refreshes the connection (either change_user or ping) before trying to use it.
(It also uses less memory, and generally has better performance.) I've only tried it with
mysqli, but the native extension also uses it. It's available for PHP >= 5.3, MySQL >=
4.1.
----
Server IP: 69.147.83.197
Probable Submitter: 68.202.60.60
----
Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php
Edit -- https://master.php.net/note/edit/104266
Del: integrated -- https://master.php.net/note/delete/104266/integrated
Del: useless -- https://master.php.net/note/delete/104266/useless
Del: bad code -- https://master.php.net/note/delete/104266/bad+code
Del: spam -- https://master.php.net/note/delete/104266/spam
Del: non-english -- https://master.php.net/note/delete/104266/non-english
Del: in docs -- https://master.php.net/note/delete/104266/in+docs
Del: other reasons-- https://master.php.net/note/delete/104266
Reject -- https://master.php.net/note/reject/104266
Search -- https://master.php.net/manage/user-notes.php