Re: [phplib] mySQL error: Too many open connections From: Bob Bowker (bowker <email protected>)
Date: 06/27/00

Hi --

I ran into the same problem, on three separate servers, about 18 months
ago ... increasing the max_connections helped, but the culprit turned
out to be "pconnect" - change your connection method to "connect" and
the problem goes away.

Good luck!

Bob.

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>

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