Bug #71404 [Fbk->NoF]: SQLSTATE[HY000] [2006] MySQL server has gone away

From: Date: Sun, 21 May 2017 04:22:39 +0000
Subject: Bug #71404 [Fbk->NoF]: SQLSTATE[HY000] [2006] MySQL server has gone away
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209199@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:       php-bugs@lists.php.net
 Reported by:      craig_carnell at hotmail dot com
 Summary:          SQLSTATE[HY000] [2006] MySQL server has gone away
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          MySQL related
 Operating System: OS X 10.11.2
 PHP Version:      7.0.2
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2017-05-10 09:52:17] fjanisze@php.net

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

------------------------------------------------------------------------
[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


Thread (4 messages)

« previous php.bugs (#209199) next »