You are here: Re: How often do I need to connect to MySQL database? « PHP Programming Language « IT news, forums, messages
Re: How often do I need to connect to MySQL database?

Posted by Gordon Burditt on 03/13/07 22:50

>> mysql_connect(...);
>>
>> is that actually necessary/good practice. Isn't there something about
>> persistent connections.
>
>yes, try pconnect as in mysql_pconnect()
>
>But I wouldn't expect that will seriously speed up your scripts.

I would expect mysql_pconnect() to seriously overload your MySQL
server with idle connections unless you carefully tune it.

>If you want to investigate: www.php.net and type mysql_pconnect into the
>searchbox.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация