MYSQL 5.0 Connection Time Out

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I am using MySQL 5.0, and developing an internal WebApplication (Java
based, running on Tomcat).
Every morning, I have the following error
[ ].

As far as I know, this is due to some kind of connection timeout that
did not happen before version 5 of MySQL.

Nevertheless, I did not find a workaround to this myself so far...

You find my Connector (Java class handling the JDBC connection) at

Any idea about what I am supposed to do ?
Any hint, tip much appreciated.

Cheers !

-- /

Re: MYSQL 5.0 Connection Time Out wrote:
Quoted text here. Click to load it

I've run into this before, and the best solution I found after a lot of
google searches is that your Java app should catch exceptions and
reconnect to MySQL as needed.  That never seemed very satisfying.  :-(

Does the following web page help?  It says you can specify a maxWait
parameter with a value of -1 to disable timeouts.  I have not used this,
I just found the page now.

Bill K.

Site Timeline