I've been writing PHP/MySQL scripts for years and have never seen such an error. In fact, I can't imagine a real-world PHP script that would do. This. As a first line of attack, you might try making sure that you free all your result sets as soon as you are through with them, assuming that you have MySQL.
Unfortunately, I have a bad feeling that the problem might not be yours at all. Many shared hosting providers run only a single instance of both apache and MySQL for all users. Therefore, it could be another user tying up the connections and you who are suffering for it. It would be worth talking to your provider about. [email protected], Brian Cummiskey <[EMAIL PROTECTED]> wrote: > > Hi guys, > > about twice a day, i've been getting DB errors for too many connections. > > can someone walk me through how to change this value? the mysql info on > it is pretty mimimal. > > i'm on cpanel/WHM and have SSH access to my box. >
