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

From: Date: Mon, 18 Jan 2016 11:40:44 +0000
Subject: Bug #71404 [NEW]: SQLSTATE[HY000] [2006] MySQL server has gone away
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198754@lists.php.net to get a copy of this message
From: craig_carnell at hotmail dot com Operating system: OS X 10.11.2 PHP version: 7.0.2 Package: MySQL related Bug Type: Bug Bug description:SQLSTATE[HY000] [2006] MySQL server has gone away 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 bug report at https://bugs.php.net/bug.php?id=71404&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71404&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71404&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71404&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71404&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71404&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71404&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71404&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71404&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71404&r=support Expected behavior: https://bugs.php.net/fix.php?id=71404&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71404&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71404&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71404&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71404&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71404&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71404&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71404&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71404&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71404&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71404&r=mysqlcfg

« previous php.bugs (#198754) next »