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.
今天用datagrip连接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.
我还以为是mysql和datagrip版本不同导致的,后来发现
只要你去cmd命令行
输入services.msc
在服务中找到mysql80
重启这个服务就好了
第一次写文章,写的不好多多包涵,希望能帮到你们