Magento – SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

PerguntasMagento – SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Paulo perguntado 1 mês

Olá Roger, bom dia, por favor você pode nos ajudar a resolver este problema?
Este bug ocorre de forma intermitente, tanto no painel administrativo como no front da loja..

a:5:{i:0;s:63:”SQLSTATE[HY000]: General error: 2006 MySQL server has gone away”;i:1;s:1938:”#0 /home/storage/b/ec/e4/megashop1/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(305): PDO->beginTransaction()
#1 /home/storage/b/ec/e4/megashop1/public_html/lib/Zend/Db/Adapter/Abstract.php(496): Zend_Db_Adapter_Pdo_Abstract->_beginTransaction()
#2 /home/storage/b/ec/e4/megashop1/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(234): Zend_Db_Adapter_Abstract->beginTransaction()
#3 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Core/Model/Resource/Abstract.php(76): Varien_Db_Adapter_Pdo_Mysql->beginTransaction()
#4 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Core/Model/Abstract.php(313): Mage_Core_Model_Resource_Abstract->beginTransaction()
#5 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Sales/Model/Quote.php(1966): Mage_Core_Model_Abstract->save()
#6 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Checkout/Model/Cart.php(459): Mage_Sales_Model_Quote->save()
#7 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Checkout/controllers/CartController.php(144): Mage_Checkout_Model_Cart->save()
#8 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_CartController->indexAction()
#9 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
#10 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /home/storage/b/ec/e4/megashop1/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#12 /home/storage/b/ec/e4/megashop1/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#13 /home/storage/b/ec/e4/megashop1/public_html/index.php(93): Mage::run(”, ‘store’)
#14 {main}”;s:3:”url”;s:15:”/checkout/cart/”;s:11:”script_name”;s:10:”/index.php”;s:4:”skin”;s:7:”default”;}

1 respostas
Roger Mauricio Takemiya Staff respondido 1 mês

Olá Paulo,
Com certeza é limite de conexões no banco ou o mesmo está caindo de tempos em tempos.
Você deverá verificar com empresa que administra o seu serviço e pedir uma análise no log.
Abraço!