php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21878 MySQL-pconnect Link to server lost.
Submitted: 2003-01-25 13:13 UTC Modified: 2003-01-25 17:01 UTC
From: p dot vangils at mycoweb dot nl Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.3.0 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: p dot vangils at mycoweb dot nl
New email:
PHP Version: OS:

 

 [2003-01-25 13:13 UTC] p dot vangils at mycoweb dot nl
Dear sir,

We get the next warning on our site.

Warning: mysql_pconnect() [function.mysql-pconnect]: Link to server lost, unable to reconnect in <php file> on line 93
Database error: pconnect(<host>, <database>, $Password) failed.
MySQL Error: ()
Session halted

This problem is also reported in the php documentation.
http://bugs.php.net/search.php?cmd=display&search_for=mysql_pconnect+

Is there a fix or workarround for this problem?

We are using apache and MySQL.


With kind regards,

Paul van Gils


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-25 15:35 UTC] georg@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

This problem should be fixed (see also bug #21498).
 [2003-01-25 17:01 UTC] p dot vangils at mycoweb dot nl
Thank's Georg. I will also send this to out Internet Service Providers.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 05:01:42 2025 UTC