php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6403 remote mysql connection not stable under sol7
Submitted: 2000-08-28 12:03 UTC Modified: 2000-11-14 04:29 UTC
From: chris dot benndorf at ron dot de Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.1pl2 OS: Solaris 7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chris dot benndorf at ron dot de
New email:
PHP Version: OS:

 

 [2000-08-28 12:03 UTC] chris dot benndorf at ron dot de
php 4.x.x compiled under solaris 7 looses connection to a remote mysql server. If I do this:

$link = mysql_connect ("warnix", "chrisb", "xxx");
mysql_select_db("track",$link);
$query_string = "select * from picfile";
mysql_db_query("track",$query_string,$link);
echo mysql_errno().": ".mysql_error()."\n";
mysql_close ($link);

I get the following error

2013: Lost connection to MySQL server during query

and the servers logfile looks like:

000823 12:17:16      65 Connect    chrisb@picsrv1 on
                     65 Init DB    track
                     65 Quit
                     66 Connect    chrisb@picsrv1 on
                     66 Init DB    track
                     66 Quit

if I use php compiled under solaris 2.6 (same configure settings) everything works fine and the servers logfile looks like this:

000828 15:25:39      75 Connect    chrisb@picsrv1 on
                     75 Init DB    track
                     75 Init DB    track
                     75 Query      select * from picfile
                     75 Quit

I have tried this with 4.0.0, 4.0.1 and 4.0.1pl2...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-13 10:15 UTC] kir@php.net
Please check if you still get the error with the latest version of PHP.
 [2000-11-14 04:29 UTC] kir@php.net
Works for php-4.0.3pl1.
Closed on user's behalf.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC