My Oracle Support Banner

With Connector/J load balancing, Often Seeing: Com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications Link Failure (Doc ID 1526709.1)

Last updated on NOVEMBER 20, 2021

Applies to:

MySQL Connectors - Version 5.1 and later
Information in this document applies to any platform.

Goal

Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see https://dev.mysql.com/doc/mysqld-version-reference/en/ for a complete list of those changes, and in which minor versions it happened.

Using the Connector/J load balancing with a URL similar to this:

 

Have keep alive functionality enabled in connection pool and also enabled the functionality to check connection validity at checkout in our connection pool. That's why it's not expected. The X in the error above is also less than wait_timeout.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.