問題:SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading authorization packet', system error: 0 解決:一、在my.cnf中加skip-name-resolve 方法2.在my.cnf增長connect_timeoutserver