文章内容

2019/7/27 11:17:11,作 者: 黄兵

[08S01] Communications link failure.

今天在连接远程数据库的时候报如下错误:

Connection to xxx_xxxxxx_Development@xxxxxx_xxx.xxx.com [2] failed.

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

截图如下:


出现问题的原因:

客户端发送了数据包,但是服务器没有返回任何数据,应该是服务器没有开启远程连接,所以才出现这个问题。

解决方案:

具体文章可以参考这里:mysql 无法远程连接,在此不多说。


参考资料:

1、mysql 无法远程连接

2、Solving a “communications link failure” with JDBC and MySQL [duplicate]


黄兵个人博客原创。

转载请注明出处:黄兵个人博客 - [08S01] Communications link failure.

分享到:

发表评论

评论列表

user-ico

yy on 回复 有用(0

改了还是没用呀