admin管理员组

文章数量:1530518

datagrip V2021.2 连接mysql 报错:javax.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

问题如下:
当 datagrip 版本由 2020.3到2021.2时mysql 连接时报错,mysql 版本:[5.7.25-log]。

处理思路:更换driver 版本为8.0 但依然报错。
后通过:在IDE配置数据源时,点击Advanced选项卡,在VM options:中输入

"-Djdk.tls.disabledAlgorithms=SSLv3, TLSv1.1, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, include jdk.disabled.namedCurves"

确认后连接解决

参考: https://zhile.io/2021/09/17/datagrip-jdbc-tls1.1.html
感谢:Neo Peng

本文标签: 报错DataGripprotocolmysql