美文网首页
idea无法正常使用database功能

idea无法正常使用database功能

作者: 米特侠 | 来源:发表于2022-12-12 12:14 被阅读0次

今天突然发现idea无法正常使用database功能了,报错:08S10 

[08S01]

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).

[08S01]

难道是网络问题?登录Navicat发现可以正常使用。

然后尝试调整驱动版本,依然无果。

最后谷歌了好久无果,最后直接将代码中的jdbc链接拷贝到URL输入框,点击Test 发现通了,哈哈。

应该是链接中某个参数的问题,可以在advance对应的tab项中修改对应的值,或者直接复制代码能用的URL到输入框更简单。

Unicode=true

characterEncoding=UTF-8

allowMultiQueries=true

useSSL=false

相关文章

网友评论

      本文标题:idea无法正常使用database功能

      本文链接:https://www.haomeiwen.com/subject/xhsfqdtx.html