Edit report at https://bugs.php.net/bug.php?id=53227&edit=1
ID: 53227
Comment by: php at accounts dot brycedrennan dot com
Reported by: tyra3l at gmail dot com
Summary: PHP Warning: mysql_pconnect(): MySQL server has
gone away
Status: Feedback
Type: Bug
Package: MySQL related
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
I experience the same thing.
PHP 5.3.2, Apache 2.2.17, Windows 7 64bit
Previous Comments:
------------------------------------------------------------------------
[2010-12-25 13:50:57] [email protected]
Afair, we already have some checking code in the common connector function for
ext/mysql to check for "server has gone away" when attempting to re-use a
persistent connection. But it is hard to reproduce if the result isn't
consistent.
I tried to reproduce it a few times, but without luck. Any specific MySQL
Server versions, or other data that could provide useful?
------------------------------------------------------------------------
[2010-12-20 14:34:06] tyra3l at gmail dot com
mysqlnd
Tyrael
------------------------------------------------------------------------
[2010-12-20 14:22:52] [email protected]
do you use libmysql or mysqlnd?
------------------------------------------------------------------------
[2010-11-02 12:13:04] tyra3l at gmail dot com
Description:
------------
On of my co-worker experienced, that some of the mysql_pconnect calls are
returning this error.
The exact same symptoms are described in the manual:
http://php.net/manual/en/function.mysql-pconnect.php#99380
the code which produce this was working fine before migrating to 5.3
Test script:
---------------
<?php
mysql_pconnect();
Expected result:
----------------
successful connection every time
Actual result:
--------------
sometimes we get the PHP warning, and we had to retry the connection
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53227&edit=1