ID: 11966
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: MySQL related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

I;m not be able to reproduce this. But mysql_pconnect will make a connection for every 
httpd process that gets spawned.
One such httpd handles then like 100 requests, and there are mostly more than one of 
these child processes.
For every such child process, a new connection will be made, that is normal bahavior.

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-07-09 05:32:51] [EMAIL PROTECTED]

each new mysql_pconnect opens new connection. About system: see 
http://www.crimaniak.com/info.php

 Code:

// defined constants: $DBServer, $DBUser, $DBPassword
include("base.inc.php");

// Open connection to server
if(!$base=mysql_pconnect($DBServer,$DBUser,$DBPassword))
                ErrExit("Error during connect to database:" . mysql_error());


------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11966&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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