Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT
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? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [?? Probable Spam] [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT
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
Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT
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 usually require mysql_pconnect(). Use mysql_connect() for pretty much all other connections. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MYSQL_CONNECT vs MYSQL_PCONNECT
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
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
Re: [PHP] mysql_connect vs mysql_pconnect
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 persistent connections, please ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Web standards Planet http://www.w3planet.info/ Personal Blogger http://www.EasyHTTP.com/jad/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] mysql_connect vs mysql_pconnect
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 -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development *--- Now supporting PHP5 --- / signature.asc Description: This is a digitally signed message part
[PHP] mysql_connect vs mysql_pconnect
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