Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>