报错详情

DataGrip版本

2022.1.4

MySQL版本

5.7.26

MySQL驱动版本

8.0.25

错误内容

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

解决办法

方法一

修改useSSL=false, 按下图提示来修改变量:

PIeQSi.png

方法二

换mysql驱动为Amazon MySQL驱动