[PHP-DEV] Bug #12705 Updated: persistent connections don't go away when the database server dies

2001-12-13 Thread sander

ID: 12705
Updated by: sander
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12705 Updated: persistent connections don't go away when the database server dies

2001-11-22 Thread mfischer

ID: 12705
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]