5
Magento MySQL已消失错误
我在Magento CE 1.7.0.2上遇到了很多奇怪的问题。在正常操作期间,该站点有时会在前端和后端产生Magento错误页面(处理您的请求时出错)。查看关联的报告,我看到以下消息: "SQLSTATE[HY000] [2006] MySQL server has gone away" 有时(但很少)报告消息将显示为: Connection reset by peer 我查看了var> log> system.log,该MySQL has gone away错误伴随以下内容: Warning: PDO::__construct(): MySQL server has gone away in /var/www/html/domain.com/live/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 129 Error while reading greeting packet. PID=1863 in /var/www/html/domain.com/live/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 129 除此之外,每个请求以及这些MySQL has gone away错误似乎都发生以下错误: Warning: include(File.php): …