|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-02-03 16:52 UTC] kane at idworld dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 14:00:02 2025 UTC |
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.