idea自带database连接mysql失败问题
idea2023.1版连接mysql失败DBMS: MySQL (ver. 5.7.13)
Case sensitivity: plain=exact, delimited=exact
Driver: MySQL Connector Java (ver. mysql-connector-java-5.1.47 ( Revision: fe1903b1ecb4a96a917f7ed3190d80c049b1de29 ), JDBC4.0)
Communications link failure
The last packet successfully received from the server was 95 milliseconds ago.The last packet sent successfully to the server was 89 milliseconds ago.
No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
使用如下:
https://i-blog.csdnimg.cn/blog_migrate/a296fc1f4b93fa7a1f33e99f718f6356.png
填写正确的IP,端口,账号,密码
test connection 报如下错误
DBMS: MySQL (ver. 5.7.13)
Case sensitivity: plain=exact, delimited=exact
Driver: MySQL Connector Java (ver. mysql-connector-java-5.1.47 ( Revision: fe1903b1ecb4a96a917f7ed3190d80c049b1de29 ), JDBC4.0)
Communications link failure
The last packet successfully received from the server was 95 milliseconds ago.The last packet sent successfully to the server was 89 milliseconds ago.
No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
办理方案:
1.url路径中 到场 useSSL=no或者useSSL=falsehttps://i-blog.csdnimg.cn/blog_migrate/341e5b87520af0ff0d0e723577284851.png
2.在advanced中下拉选中useSSl为no
https://i-blog.csdnimg.cn/blog_migrate/0be11eaa73d269e113b0287d65c674ef.png
3.驱动中的advanced中的useSSL设置为非true
https://i-blog.csdnimg.cn/blog_migrate/8f9dd73618a060dd929585672f5aebf7.png
完美办理
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]