are you using mysql_pconnect or mysql_connect?
mysql_pconnect will help speed up database connections by reusing a
connection that is connected the same database as the same user that you
are requesting. You can call mysql_pconnect as many times as you like in
the same script.
On Fri, 9 Jul 1999, Adam Powell wrote:
>
> For an application that I am writing, one of the ideas I have is only
> possible if I can create two (or more) seperate connections to a database at
> the same time. I have been told that this is possible using mod_perl,
> however I was wondering if such a thing had been implemented in PHP.
> Basically, time is of the essence, and the main things slowing down data
> retrieval are connection times... so we want to get them all done
> simultaneously.
>
> Thanks a lot,
> Adam Powell,
> CTO - Click Agents Corporation.
> Web : http://www.clickagents.com
> Email : adam@stripped
>
>
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread6958@stripped
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
>
>