From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to