ID: 10841
Updated by: sniper
Old-Status: Open
Status: Feedback
Bug Type: MySQL related
Operating system: 
PHP Version: 4.0.4
Assigned To: 

Please try PHP 4.0.5


Previous Comments:

[2001-05-13 18:50:59] [EMAIL PROTECTED]
After doing multiple (say 3) mysql_pconnect() from within
one page, as suspected the number of mysql threads
increases, but only the last connection made is being reused
by subsequent calls to mysql_pconnect from other pages/requests.
This is a bit unconfirmed, since I don't have the time and
resources right now, but tests on a production site (which
has crashed very often the last time) showed that the
following code cut down the number of mysql threads at least

if (!@mysql_select_db ("test")) {
  mysql_pconnect("db","user","pass") or die ("No
  mysql_select_db ("test") or die ("database does not exist:


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

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]

Reply via email to