Re: [PHP] Persistent MySQL Connection

2007-06-19 Thread Feris
Richard Lynch wrote: On Wed, June 13, 2007 8:53 am, PHP Mailing List wrote: I currently running my php as cgi as it is more controllable in shared hosting, the drawback is I cannot use mysql persistent connection so mysql_pconnect() function is not an option. Is there any mysql connection poo

Re: [PHP] Persistent MySQL Connection

2007-06-13 Thread Richard Lynch
On Wed, June 13, 2007 8:53 am, PHP Mailing List wrote: > I currently running my php as cgi as it is more controllable in shared > hosting, the drawback is I cannot use mysql persistent connection so > mysql_pconnect() function is not an option. Is there any mysql > connection pool product for php r

[PHP] Persistent MySQL Connection

2007-06-13 Thread PHP Mailing List
Hi everyone, I currently running my php as cgi as it is more controllable in shared hosting, the drawback is I cannot use mysql persistent connection so mysql_pconnect() function is not an option. Is there any mysql connection pool product for php running as cgi ? Thanks, Dino -- PHP Gener

Re: [PHP] Persistent MySQL Connection

2007-06-12 Thread Richard Lynch
On Tue, June 12, 2007 12:16 am, PHP Mailing List wrote: > Can I maintain just one mysql connection resource to all my pages per > user session. As far as I knows create connection is more expensive > than > executing queries ? > > Any reference how to make efficient for connection resources ? Plea

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Persistent MySQL Connection

2007-06-11 Thread Richard Lynch
On Mon, June 11, 2007 12:53 pm, PHP Mailing List wrote: > Can I maintain just one mysql connection resource to all my pages per > user session. As far as I knows create connection is more expensive > than > executing queries ? > > Any reference how to make efficient for connection resources ? Yes,

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To u