Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Posted by: Double Dragon
Date: June 02, 2010 06:01AM

This is the most annoying problem with MySQL I have come across so far. autoReconnect parameter surely doesn't help. If you are using a DataSource, using validationQuery="select 1" is said to help but I am not sure.

If you search online, this is the most commonly reported issue with MySQL and someone from Oracle should put down a proper solution for this and make it a sticky.

Options: ReplyQuote


Subject
Written By
Posted
Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
June 02, 2010 06:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.