RE: [PHP-DEV] Bug #7041: mysql_pconnect is making new connection ?
| From: | Howard Cohodas | Date: | Thu, 05 Oct 2000 07:39:14 +0000 |
| Subject: | RE: [PHP-DEV] Bug #7041: mysql_pconnect is making new connection ? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-34283@lists.php.net to get a copy of this message | ||
This duplicates http://bugs.php.net?id=6383
Howard A. Cohodas
Design Knowledge Technologies Inc.
Phone: (011)(330)492-9900
FAX: (011)(330)492-1100
otfGIF Encoder: http://www.dkt.com/otfGIF
-----Original Message-----
From: yunarta@yahoo.com [mailto:yunarta@yahoo.com]
Sent: Thursday, October 05, 2000 3:28 PM
To: php-dev@lists.php.net
Subject: [PHP-DEV] Bug #7041: mysql_pconnect is making new connection ?
From: yunarta@yahoo.com
Operating system: Win2k and BSDI 4.1
PHP version: 3.0.16
PHP Bug Type: MySQL related
Bug description: mysql_pconnect is making new connection ?
I'm using Win2k for first try, then also at BSDI 4.1,
When i'm calling mysql_pconnect, it makes a new connection.
On phpinfo(), its said i have 1 persistent connection,
while on mysql console, after i'm issuing "show processlist",
the connection doesn't exist. Its like when you issuing
mysql_connect for connection to mysql.
So i'm calling mysql_pconnect and issuing "show processlist"
at mysql_query.. after i put all the process id, i found out
that each pconnect is creating a new connection like what
happens in mysql_connect
Bug ?
Notes:
-it doesn't happens on PHP 4
-I'm using MySql 3.22.32
-I having similar problem too same as MySQL Bug id #3852, where
pconnect overloads mysql
-You can get the source code from http://202.157.137.129/sql.zip
Thank you
Yunarta Kartawahyudi
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net