idea2023.1版连接Mysql失败 DBMS: mysql (ver. 5.7.13)Case sensitivity: plain=exact, delimited=exactDriver: Mysql Connector Java
DBMS: mysql (ver. 5.7.13)Case sensitivity: plain=exact, delimited=exactDriver: Mysql Connector Java (ver. mysql-connector-java-5.1.47 ( Revision: fe1903b1ecb4a96a917f7ed3190d80c049b1de29 ), JDBC4.0)[08S01]Communications link failureThe 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).
使用如下:
填写正确的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)
[08S01]
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=false
2.在advanced中下拉选中useSSl为no
3.驱动中的advanced中的useSSL设置为非true
完美解决
来源地址:https://blog.csdn.net/weixin_44560245/article/details/130426650
--结束END--
本文标题: idea自带database连接mysql失败问题
本文链接: https://lsjlt.com/news/371806.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0