altis 2013-2-19 00:19
解決 "ERROR 2006 (HY000): MySQL server has gone away"
<div>最近要匯入大檔案的 sql 備份檔時...遇到了這個錯誤...</div><div>ERROR 2006 (HY000): MySQL server has gone away</div><div><br></div><div>上網查了一下...原來要在 /etc/my.cnf 上面修改兩個參數就可以了...</div><div><br></div><div>max_allowed_packet = 64M</div><div>wait_timeout = 6000</div><div><br></div><div>之後mysql 再重啟就ok囉~~</div>