Bug #71404 [Opn]: SQLSTATE[HY000] [2006] MySQL server has gone away

From: Date: Wed, 10 May 2017 09:52:20 +0000
Subject: Bug #71404 [Opn]: SQLSTATE[HY000] [2006] MySQL server has gone away
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209039@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71404&edit=1 ID: 71404 Updated by: fjanisze@php.net Reported by: craig_carnell at hotmail dot com Summary: SQLSTATE[HY000] [2006] MySQL server has gone away Status: Open Type: Bug Package: MySQL related Operating System: OS X 10.11.2 PHP Version: 7.0.2 Block user comment: N Private report: N New Comment: We might need a small sample script which reproduce the problem for your platform which do not need to install/use third party code. Please submit a short script which cause this issue to popup using plain PHP with your MySQL configuration. Thanks Previous Comments: ------------------------------------------------------------------------ [2016-01-18 11:40:40] craig_carnell at hotmail dot com Description: ------------ When running PHP 7.0.2 with mysqld Ver 5.7.10 for osx10.11 on x86_64 (Homebrew) I immediately will get a MySQL server has gone away message. This requires me to constantly restart mysql SQLSTATE[HY000] [2006] MySQL server has gone away SQLSTATE[HY000] [2006] MySQL server has gone away #0 /Users/ccarnell/Sites/xx/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /Users/ccarnell/Sites/xx/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(332): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /Users/ccarnell/Sites/xx/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /Users/ccarnell/Sites/xx/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('default', NULL) Test script: --------------- Run a mysql script, such as logging into Magento 2 Admin panel http://www.xxx.local/admin/ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71404&edit=1

« previous php.bugs (#209039) next »