MySQL Forums
Forum List  »  Analytics, Reporting, BI

Communications link failure error in mysql 5.1
Posted by: Jeetendra Garg
Date: March 23, 2012 01:00AM


I am using mysql 5.1 with my java application. Once in a day I get this error, whenever I access the application after a long interval(few hours). Let say, my last hit to database through application was in the night and in the next morning I access the application again, I get this error

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Last packet sent to the server was 1 ms ago.

I changed the interactive_timeout variable to from 8 hours to 24 hours, but it did not work.

Can anyone provide me the solution for this?

Thanks in advance.

Options: ReplyQuote

Written By
Communications link failure error in mysql 5.1
March 23, 2012 01:00AM

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.