Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- MYSQL 5.0 Connection Time Out
April 11, 2006, 4:57 pm
rate this thread
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.
Re: MYSQL 5.0 Connection Time Out
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.
- » Americanas.com SALDO de TVs Com at 80% de Desconto (29798)
- — Newest thread in » MySQL Database Forum