Re: mySQL Too Many Connections Open error
mySQL Too Many Connections Open error
That is a typical feature with the old model. If you use the PDO object, you can use the prepare and execute methods that may be all you need to solve the problem. If not, you combine it with exception handling as indicated above.
Good OO code generally and PHP code especially always use exception handling to test for timeout, server down, broken links etc etc.
Last edited by kgun; 12-14-2007 at 07:33 AM.
|