#21498 [Com]: mysql_pconnect trouble
| From: | timothy dot arnold at becta dot org dot uk | Date: | Mon, 02 Jun 2003 11:37:33 +0000 |
| Subject: | #21498 [Com]: mysql_pconnect trouble | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40901@lists.php.net to get a copy of this message | ||
ID: 21498
Comment by: timothy dot arnold at becta dot org dot uk
Reported By: admin at cpan dot cz
Status: Closed
Bug Type: MySQL related
Operating System: Linux
PHP Version: 4.3.0
Assigned To: georg
New Comment:
I have PHP 4.3.1 running on Solaris 8 - same error. When I
switch to non-persistent connections it works fine. About
to test PHP 4.3.2
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 05:15:38] georg@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2003-01-08 04:28:01] derick@php.net
You didn't assign it :-)
------------------------------------------------------------------------
[2003-01-08 04:25:16] georg@php.net
Verified, assigned to myself.
------------------------------------------------------------------------
[2003-01-07 21:03:53] admin at initcorp dot co dot uk
Yeah I am getting the same problem :(
This is what error I get:
Warning: mysql_pconnect() [function.mysql-pconnect]: Link to server
lost, unable to reconnect
And I also get it to work now and then.
As far as I know these are the servers info:
OS is Redhat Linux Im not too sure on the version.
mySQL is version 3.23.54
PHP is version 4.3.0
Apache is version 1.3.26
It was all working fine until version 4.3.0 was installed :(
Thanks in advance
Paul
------------------------------------------------------------------------
[2003-01-07 13:47:47] admin at cpan dot cz
I have php 4.3.0, compiled with external mysql client 3.23.54. There is
a problem with mysql_pconnect(). Sometimes it's impossible to connect (
Lost connection to mysql server ). If mysql_connect is used, there
isn't problem any more. There wasn't problem in php 4.2.3 with the same
mysql client.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21498&edit=1