Bug #106349 When trying to connect to a MySQL Server using OpenJDK 1.8.0_322
Submitted: 1 Feb 2022 16:02 Modified: 1 Feb 2022 16:05
Reporter: kiruba shankar Email Updates:
Status: Unsupported Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.6.10 OS:Red Hat
Assigned to: CPU Architecture:Any

[1 Feb 2022 16:02] kiruba shankar
Description:
When trying to connect to a MySQL Server using OpenJDK 1.8.0_322, we get this exception:

com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Current MYSQL version : 5.6.10
Old java version where mysql java connector was working fine : 1.8.0_251
mysql java connector version : 8.0.16
When trying to upgrade new java version 1.8.0_322 we are getting javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 

Kindly advise.

How to repeat:
Issue can be repeated by using below

Java version  : 1.8.0_322 
Mysql version : 5.6.10
Mysql Java connector version : 8.0.16
[1 Feb 2022 16:05] MySQL Verification Team
Hi Mr. Shankar,

Thank you for your bug report.

However, the software that you are reporting upon is not supported any more.

We only support 5.7 and 8.0 versions of Server and corresponding versions of our Connector/J Java API.

Unsupported.