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
版权声明:本文标题:datagrip V2021.2 连接mysql 报错:No appropriate protocol 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1726296885a1064718.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论