|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23323 "mysql_pconnect(): Link to server lost, unable to reconnect" error
Submitted: 2003-04-24 01:16 UTC Modified: 2003-04-24 03:16 UTC
From: norm at scratch-pad dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.1 OS: RH Linux 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
26 - 25 = ?
Subscribe to this entry?

 [2003-04-24 01:16 UTC] norm at scratch-pad dot com

We are in the process of migrating to a new machine running PHP 4.3.1 (mysql client API 3.23.49) / Apache 1.3.27 on Red Hat 7.3. We will continue to use the old machine as our mysql box (mysql v. 3.23.54).

We have been getting this sporadic error using this new setup:

Warning: mysql_pconnect() [function.mysql-pconnect]: Link to server lost, unable to reconnect in /path/to/php/file on line 8 

This error has never happened on our existing production machine (PHP 4.2.2 (mysql client API 3.23.39) / Apache 1.3.26 connecting to mysql 3.23.54 locally)

I've searched the bug reports and looks like there are some bugs that were reported in php 4.3.0 which were supposedly fixed:

Any insight is appreciated.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-24 03:12 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Those bugs are fixed in CVS. Don't report this again.
(get the latest STABLE cvs snapshot from

 [2003-04-24 03:15 UTC] norm at scratch-pad dot com
FYI we just tried PHP 4.2.3 on the new machine and the errors seem to have gone away.
 [2003-04-24 03:16 UTC]
Please don't reopen this..

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 15:01:32 2024 UTC