Bug #53227 [Opn->Fbk]: PHP Warning: mysql_pconnect(): MySQL server has gone away

From: Date: Mon, 20 Dec 2010 13:22:52 +0000
Subject: Bug #53227 [Opn->Fbk]: PHP Warning: mysql_pconnect(): MySQL server has gone away
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157134@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53227&edit=1

 ID:                 53227
 Updated by:         andrey@php.net
 Reported by:        tyra3l at gmail dot com
 Summary:            PHP Warning:  mysql_pconnect(): MySQL server has
                     gone away
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            MySQL related
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

do you use libmysql or mysqlnd?


Previous Comments:
------------------------------------------------------------------------
[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 http://bugs.php.net/bug.php?id=53227&edit=1


Thread (8 messages)

« previous php.bugs (#157134) next »