Re: [phplib] mySQL error: Too many open connections From: M. Brian Akins (bakins <email protected>)
Date: 06/27/00

Try setting "mysql.max_persistent=16" or an acceptable number in your php.ini
file.

On Tue, 27 Jun 2000, asdrury <email protected> wrote:
> since i started using a subclass of Db_Sql instead of writing
> my own mysql code in php3, i get mysql error "Too many connections"
> from time to time. in general my php code tests ok; & query
> strings are ok (they run easily from mysql command line).
>
> i have read in this list & elsewhere that one solution is to
> increase mysql max number of connections. ok; our site host
> (burlee.com) is pretty good about that kind of thing.
>
> but, what i can't get clear about is why it's happening, or what
> i, as a PHPLIB user, can do to avoid the problem.
>
> any insights very much appreciated.
>
> thanks. ASD
> asdrury <email protected>
>
> -----
> Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> The FREE way to access your mailbox via any web browser, anywhere!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>

-- 
M. Brian Akins
Senior Development Engineer

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>