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
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:
MUST BE VALID
Solve the problem:
42 - 32 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 22:01:31 2024 UTC