PHP 4.0 Bug #9070: Can only create "test" databases.

From: Date: Fri, 02 Feb 2001 12:06:13 +0000
Subject: PHP 4.0 Bug #9070: Can only create "test" databases.
Groups: php.dev 
Request: Send a blank email to php-dev+get-45602@lists.php.net to get a copy of this message
From: kane@idworld.net Operating system: WinME PHP version: 4.0.0 PHP Bug Type: MySQL related Bug description: Can only create "test" databases. I cannot seem to create a database unless it begins with the word "test" in it's name. However I am able to make any database I feel like when using the MySQL shell directly. The following works: $query = "CREATE DATABASE test_user_again"; $result = @mysql_query($query, $connection) or die ("Couldn't create database"); However this does not: $query = "CREATE DATABASE my_db"; $result = @mysql_query($query, $connection) or die ("Couldn't create database"); Nor does any other name I use unless it begins with "test". I've tried using the 'mysql_create_db' function with the same results. Any help would be greatly appreciated. Thanks, Kane T. -- Edit Bug report at: http://bugs.php.net/?id=9070&edit=1

« previous php.dev (#45602) next »