No appropriate protocol -- Mysql

2023-12-13 07:28:58

DataGrip连接mysql报以下异常信息:

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

The following required algorithms might be disabled: SSLv3, TLSv1, TLSv1.1, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, include jdk.disabled.namedCurves. Edit the list of disabled algorithms to include required algorithms. You can try to enable TLSv1 or TLSv1.1 first.

JDBC driver may have disabled TLS 1.1 and its earlier versions.
在这里插入图片描述

解决办法:

将VM options的TLSv1改为TLSv1.1

修改前:

在这里插入图片描述

修改后
在这里插入图片描述

文章来源:https://blog.csdn.net/z1987865446/article/details/134536248
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。