SQLSTATE[HY000] [2013] Lost connection to MySQL...

问题:SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading authorization packet', system error: 0
解决:1、在my.cnf中加skip-name-resolve

    方法2.在my.cnf增加connect_timeout

你可能感兴趣的:(SQLSTATE[HY000] [2013] Lost connection to MySQL...)