* Thus wrote anders thoresson ([EMAIL PROTECTED]):
function db_connect ($user, $pwd, $db, $debug = 0)
{
$link = @mysql_pconnect(localhost, $user, $pwd);
if($link mysql_select_db($db))
...
I thought that making another or a third call to db_connect would reuse
the same
the second time you request in php you'll have two, and so on.
Until the number of connections in the pool gets filled up will
mysql tell php to use an id that exists.
You mean that until the pool is filled a new id will be used? That's the
case here, anway: I get up to 30 id's and then no more
You mean that until the pool is filled a new id will be used? That's the
case here, anway: I get up to 30 id's and then no more new a added, but
the time column reset, which I take means that that id is reuses?
There are still 30 open threads/processes in the process list, all with
command
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
* Thus wrote anders thoresson ([EMAIL PROTECTED]):
function db_connect ($user, $pwd, $db, $debug = 0)
{
$link = @mysql_pconnect(localhost, $user, $pwd);
if($link mysql_select_db($db))
...
I thought that making another or a
4 matches
Mail list logo