Re: [PHP-DB] connection id mystery

2007-07-26 Thread Stut
Charles Whitaker wrote: Using persistant connections simply means that you will be given a connection from a pool of open connections rather than creating a new one each time. There is no guarantee you'll get the same connection from request to request. Right. I had assumed that I would get

Re: [PHP-DB] connection id mystery

2007-07-25 Thread Stut
Charles Whitaker wrote: Since I'm requesting persistent connections, why don't I get the same connection each time? Or, to ask it another way: I notice that the number of threads slowly increases as I continue to access records -- why would this happen if I'm using persistent connections? I

Re: [PHP-DB] connection id

2001-03-24 Thread JJeffman
Use persistent connections it's a matter of performance of your script. When you use persistent connections the next call to mysql_pconnect will catch a opened connection if available. The mysql_connect command always open a new connection which slower than get an opened one. Anyway you can't use