Bug #12705 Updated: persistent connections don't go away when the database server dies

From: Date: Thu, 22 Nov 2001 08:22:15 +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-71355@lists.php.net to get a copy of this message
ID: 12705 Updated by: mfischer Reported By: patrick@kia.net Old Status: Open Status: Feedback Bug Type: MySQL related Operating System: FreeBSD 3.4 PHP Version: 4.0.5 New Comment: Can you try with latest RC and see if it works http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Feedback. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.dev (#71355) next »