If you're not sure you should probably stick with mysql_connect() -
otherwise you could end up bogging down mysql with way more
connections than you need if you're not careful.
On Jun 20, 2006, at 12:34 PM, Juanjo Pascual wrote:
How can i know which of both is better to use each time?
--
On Tue, 2006-06-20 at 12:34, Juanjo Pascual wrote:
> How can i know which of both is better to use each time?
Use mysql_pconnect() if the connection overhead is large. This is
usually the case if the database is off on a remote server somewhere in
lala land. Remote servers within your LAN don't us
ok, i'm sorry, i was probably too tired.
i've search the doc, but didn't found this page :
http://www.php.net/manual/en/features.persistent-connections.php
will me excuse me ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.google.com/search?lr=&ie=UTF-8&oe=UTF-8&q=mysql_connect%20vs%20mysql_pconnect
On Fri, 26 Nov 2004 19:55:29 +0100, fabien champel
<[EMAIL PROTECTED]> wrote:
> hello,
> I do not know when I must use mysql_pconnect instead of the mysql_connect :(
>
> what are the real advantages of persi
On Fri, 2004-11-26 at 19:55 +0100, fabien champel wrote:
> hello,
> I do not know when I must use mysql_pconnect instead of the mysql_connect :(
>
> what are the real advantages of persistent connections, please ?
>
http://www.google.com/search?q=advantages+of+persistent+connection
--
/**
5 matches
Mail list logo