You are here: Re: [PHP] Connecting To Multiple MySQL Databases « PHP « IT news, forums, messages
Re: [PHP] Connecting To Multiple MySQL Databases

Posted by Silvio Porcellana on 02/07/05 22:13

Richard Lynch wrote:
>
> <snip />
>
> Actually, you want a few SPARE MySQL connections, so you can use the mysql
> command line monitor to do things -- Particularly in case of a run-away
> PHP/MySQL script which slams the server into over-drive... If you don't
> have a connection available cuz they're all used up by Apache/_pconnect,
> you can't log into mysql monitor and you can't use mysqladmin to bring it
> down nicely and... Don't do that. :-)
>
> <snip />
>
Actually, MySQL already takes care of that as it allows 'max_connections + 1' clients to
connect, leaving the '+1' connection for the user(s) with SUPER privilege (that can
therefore issue a "SHOW PROCESSLIST" or nicely bring down the server).

http://dev.mysql.com/doc/mysql/en/too-many-connections.html

Back to lurking, cheers everybody.
Silvio

 

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

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