View Single Post
  #11 (permalink)  
Old 12-14-2007, 08:31 AM
kgun's Avatar
kgun kgun is offline
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,709
kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10kgun RepRank 10
Default 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 08:33 AM.
Reply With Quote