php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7977 MySQL functions sometimes work, sometimes not
Submitted: 2000-11-26 11:01 UTC Modified: 2001-01-30 04:14 UTC
From: luksa at marand dot si Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.3pl1 OS: Solaris 2.7
Private report: No CVE-ID: None
 [2000-11-26 11:01 UTC] luksa at marand dot si
After upgrading to php4 under solaris all of my php scripts started behaving strange. When calling mysql commands, they sometimes execute ok and sometimes they don't. In php3 there were no problems with the same scripts.

Mysql_query() for example sometimes returns "Lost connection to MySQL server during query" and sometimes it works fine.

This is how i configured php:
./configure --with-pgsql=/usr/src/postgresql-7.0.2 --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14 --enable-track-vars --enable-trans-sid


I found the bug was already mentioned under bug #4249, so I compiled php 4.0.1pl2 and the problem seemed to dissapear.

It seems as though you fixed the problem in 4.0.1pl2, but it reappeared in 4.0.3pl1 (or somewhere in between).



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-11 06:20 UTC] stas@php.net
Could you please provide more information on when it happens
and what is the problem? Also, please try a snapshot from
snaps.php.net and report if the problem persists.
 [2001-01-30 04:14 UTC] sniper@php.net
No feeback. If problem still exists with PHP4.0.4pl1
and even with latest CVS snapshot from http://snaps.php.net/
please reopen this bug report.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 05:01:31 2024 UTC