PHP 4.0 Bug #4249: mysql select & other features fail on php-4.0RC1

From: Date: Wed, 26 Apr 2000 17:05:17 +0000
Subject: PHP 4.0 Bug #4249: mysql select & other features fail on php-4.0RC1
Groups: php.dev 
Request: Send a blank email to php-dev+get-18254@lists.php.net to get a copy of this message
From: lawrence@lod.com Operating system: Solaris 2.5.1 PHP version: 4.0 Release Candidate 1 PHP Bug Type: MySQL related Bug description: mysql select & other features fail on php-4.0RC1 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

« previous php.dev (#18254) next »