Diana Castillo wrote:

Is there any way to limit the connections so that this error never happens?
Warning: mysql_connect(): Too many connections at
/home/local/global/php/libraries/dblayer_mysql.php line 14.

The connections are already limited, that's why you get this warning. You need to handle this from the MySQL side and increase the number of connections allowed either when you start MySQL or in a config file. Directions are in the manual, of course. :)


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to