Connection Timeout While Trying to Connect to MySQL
Occasionally, if my server is busy I get an error saying "connection timeout" while trying to connect to MySQL. When the error does occur it makes the program crash too. I would like to know how can I stop this happening and stop crashing, because it is so annoying. Here is the screenshot of the error:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.