连接 MySQL 报错:Lost connection to MySQL server at 'reading authorization packet', system error: 34

报错信息:

Lost connection to MySQL server at 'reading authorization packet', system error: 34

 

解决方案:

use mysql;
set global connect_timeout=60;
flush privileges;

 

 

参考:

https://blog.csdn.net/donglynn/article/details/37668873

 

 

原文链接:

https://www.cnblogs.com/poterliu/p/11850786.html

 

posted @ 2019-11-13 16:42  poterliu  阅读(1441)  评论(0编辑  收藏  举报