[PHP] Re: [?? Probable Spam] [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Andrei
As you didn't mentioned what you use your queries for, maybe read the manual? Andy Juanjo Pascual wrote: How can i know which of both is better to use each time? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Juanjo Pascual
How can i know which of both is better to use each time? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Robert Cummings
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

Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Joe Wollard
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? --

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-27 Thread Jad Madi
http://www.google.com/search?lr=ie=UTF-8oe=UTF-8q=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 persistent

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-27 Thread fabien champel
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

[PHP] mysql_connect vs mysql_pconnect

2004-11-26 Thread fabien champel
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 ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect vs mysql_pconnect

2004-11-26 Thread Robby Russell
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 --