This is a discussion on "General Error(!)" within the Databases section. This forum, and the thread "General Error(!) are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
General Error(!)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
General Error(!)
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|
|
#2
|
|||
|
|||
|
Re: General Error(!)
You could try checking the number of connections allowed in my.ini
you should see a section of text like this
This may not cure it but give it a try |
|
#3
|
|||
|
|||
|
Re: General Error(!)
Quote:
There are too many connections to the databank at once. There are a few things you can do about it: 1. Make sure you only leave databank connections open as long as you need them
2. The second thing you can do is having proper error handling. This doesn't solve your problem but at least you can catch errors and output a nice friendly error message (i.e.: "Server overloaded. Please try again in a few seconds") to the user. Check all your databank queries for errors like so:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#4
|
||||
|
||||
|
Re: General Error(!)
And in English?
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#5
|
|||
|
|||
|
Re: General Error(!)
OK, which part do you need translated?
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#6
|
||||
|
||||
|
Re: General Error(!)
As I don't know one end of MySQL from the other - er.. Everything?
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#7
|
|||
|
|||
|
Re: General Error(!)
OK, I'm not sure if I understand everything good enough to give a proper explanation, but I'll give it a shot
1. mySQL connections.
2. Error handling (catching errors and dealing with them yourself instead of the user getting a cryptic message).
3. Closing the connection.
OK, I hope that clarifies a few things. That was my good deed for the day....
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#8
|
||||
|
||||
|
Re: General Error(!)
Did I mention the site is a forum?
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#9
|
|||
|
|||
|
Re: General Error(!)
what are your max connections settings with your host. Could it have just been a glitch at there end.
|
![]() |
| Tags |
| error |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| General Mac Problems | gribble | Webforumz Cafe | 29 | Aug 29th, 2007 22:31 |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| General Help needed | davor2000 | Web Page Design | 4 | Jun 12th, 2007 15:03 |
| graphics in general | ivyholly | Graphics and 3D | 5 | Oct 5th, 2005 11:55 |