admin管理员组文章数量:1618719
场景:
idea连接database 数据源(远程连接公司qa环境mysql)报错:
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.No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
1.navicat 可以正常连接
2.idea可以正常操作数据库
解决:
Data Source----Advanced------VM options 添加以下内容:
“-Djdk.tls.disabledAlgorithms=SSLv3, TLSv1, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, include jdk.disabled.namedCurves”
本文标签: 报错CommunicationsIDEADatabaseLINK
版权声明:本文标题:idea连接database报错Communications link failure The last packet sent successfully to the server was 0 m 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1728785693a1173296.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论