Re: PHP and MySQL

From: Date: Mon, 10 Sep 2001 08:45:59 +0000
Subject: Re: PHP and MySQL
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-66702@lists.php.net to get a copy of this message
check your connection string and if it something like mysql_pconnect change it in mysql_connect Stefan de Wal "Pieter Philippaerts" <Pieter@allapi.net> schreef in bericht (news:20010909013725.98134.qmail@pb1.pair.com... > Unfortunately, I can't access these settings. It's not our computer that > hosts > our website. > > Regards, > Pieter Philippaerts > > "Richard Lynch" <ceo@l-i-e.com> wrote in message > news:01e501c138ce$f3008300$6401a8c0@Lynchux100... > > Options: > > Increase the settings in MySQL that limit how many databases can be open > at > > once. > > Decrease the number of Apache children running. > > > > Basically, as long as you have more Apache children than MySQL connections > > available, you can get this message. > > > > Actually, have a few spare MySQL connections, so you can telnet/SSH in and > > use the monitor as well, and cron jobs using MySQL can run. > > > > -- > > WARNING richard@zend.com address is an endangered species -- Use > > ceo@l-i-e.com > > Wanna help me out? Like Music? Buy a CD: > > http://l-i-e.com/artists.htm > > Volunteer a little time: > > http://chatmusic.com/volunteer.htm > > ----- Original Message ----- > > From: Pieter Philippaerts <Pieter@allapi.net> > > Newsgroups: php.general > > To: <php-general@lists.php.net> > > Sent: Friday, September 07, 2001 11:30 PM > > Subject: PHP and MySQL > > > > > > > Hello, > > > we're using our MySQL database quite extensively from our PHP scripts, > > > but sometimes everything stops working and it says "Too many > connections". > > > Is there a problem with MySQL support from within PHP? Doesn't it close > > > its connections with the database when the script stops executing? > > > Is there anything I can do to resolve this problem? > > > > > > Regards, > > > Pieter Philippaerts > > > > > > > > > >

« previous php.general (#66702) next »