php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4249 mysql select & other features fail on php-4.0RC1
Submitted: 2000-04-26 13:05 UTC Modified: 2000-08-15 10:19 UTC
From: lawrence at lod dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Release Candidate 1 OS: Solaris 2.5.1
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: lawrence at lod dot com
New email:
PHP Version: OS:

 

 [2000-04-26 13:05 UTC] lawrence at lod dot com
Dear Team,

We are experiencing a problem after we upgraded our apache server to: php-4.0RC1, apache_1.3.12., mysql-3.22.32-sun-solaris2.5.1-sparc.

the below script works fine under php3, and appears to be fine on a linux machine running the php4/apache 1.3.2. 


on the Solaris system we get the following error:

Error creating database: Lost connection to MySQL server during query 

here is a small script that will generate the error:

<?

$dbh =  mysql_connect('localhost','root','XXXXX');

if (mysql_create_db ("my_db")) {
        print ("Database created successfully\n");
    } else {
         printf ("Error creating database: %s\n", mysql_error ());
    }
 
?>

Again, If I run my old httpd binary compiled with php3 support the scriot will run and create the database fine.

thanks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 16:24 UTC] derick@php.net
Please try the latest version (4.0.1pl2) and see if the problem still exists.
 [2000-08-15 10:19 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 01:01:35 2025 UTC