|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-24 16:24 UTC] derick@php.net
[2000-08-15 10:19 UTC] waldschrott@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 10:00:01 2025 UTC |
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