cotasson@gmail.com wrote:
> As far as I know, this is due to some kind of connection timeout that
> did not happen before version 5 of MySQL.
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 ? 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.
http://www.johntopley.com/kb/java/0038.html
Regards,
Bill K.