Bug #12705 Updated: persistent connections don't go away when the database server dies
| From: | sander@php.net | Date: | Thu, 13 Dec 2001 11:26:36 +0000 |
| Subject: | Bug #12705 Updated: persistent connections don't go away when the database server dies | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73540@lists.php.net to get a copy of this message | ||
ID: 12705
Updated by: sander
Reported By: patrick@kia.net
Old Status: Feedback
Status: Closed
Bug Type: MySQL related
Operating System: FreeBSD 3.4
PHP Version: 4.0.5
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-11-22 03:22:15] mfischer@php.net
Can you try with latest RC and see if it works
http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
Feedback.
------------------------------------------------------------------------
[2001-08-12 03:03:01] patrick@kia.net
As in bug #1441. mysql_pconnect().
To replicate:
1. use mysql_pconnect() to open a connection to a mysql database.
2. use the connection to run a query.
3. shut down the database.
4. try to use the connection; notice that it's bad.
5. ask for another connection to the mysql database; notice that it doesn't work (not
surprisingly)
6. restart the mysql database.
7. use mysql_pconnect() to open a connection to a mysql database.
8. notice that the connection does not work, though the database is now available.
It seems the problem is in the connection pool. Bad connections should be thrown away so they can be
used by good ones.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12705&edit=1