Why can Java not connect to MySQL 5.7 after the latest JDK update and how should it be fixed? (ssl.SSLHandshakeException: No appropriate protocol)
As @skelwa already commented you will need to add the enabledTLSProtocols=TLSv1.2 configuration property in the connection string to resolve your issue. A complete connection string for Connector/J could look like this: jdbc:mysql://<host>:<port>/<dbname>?enabledTLSProtocols=TLSv1.2 For r2dbc you will need to use tlsVersion=TLSv1.2 instead. For Connector/J v8.0.28 enabledTLSProtocols was renamed to tlsVersions (see note). However, the original name … Read more