com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
Posted by: Ritesh Kumar Kethireddi
Date: August 27, 2020 11:56PM

Hi Team,
while my app executing sql, I am getting "com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure packet received from the server xxxxxxx millisecond s" Error . My sql takes time to execute like 5,7,10 minutes. As part of the JDBC connection URL,I never used "socketTimeout". As per documents if I not give any value to socketTimeout then it took 0 as default, which means infinite time. In my data base also wait_timeout configured as 28800.

My VM OS: Red Hat Enterprise Linux Server release 7.8 (Maipo).

Could you please help me out, what might be the cause to get that error.
Please send your response ASAP.
Thanks in advance.

Regards,
Ritesh

Options: ReplyQuote


Subject
Written By
Posted
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
August 27, 2020 11:56PM


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.