Bug #11966: mysql_pconnect opens new connections with the same parameters

From: Date: Mon, 09 Jul 2001 09:32:51 +0000
Subject: Bug #11966: mysql_pconnect opens new connections with the same parameters
Groups: php.dev 
Request: Send a blank email to php-dev+get-59253@lists.php.net to get a copy of this message
From:             akul@otamedia.com
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     MySQL related
Bug description:  mysql_pconnect opens new connections with the same parameters

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());

-- 
Edit bug report at: http://bugs.php.net/?id=11966&edit=1



Thread (2 messages)

« previous php.dev (#59253) next »