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