krselva86
07-14-2010, 02:08 AM
hi to all
im trying to creating new database using php script the coding is
mysql_query('create database db_name');
but it failed to create when i try to create database with name like test_abc it getting success i can't create database without prefix "test_".. when i try through mysql command prompt it getting create in any name.
the problem im facing only when i try through php script.. i think in php configuration file is there any setting to set database_prefix for creating new database under php script. i gone through php.ini file but there is no setting for that
the above problem in not in my localhost its on remote server..
thanks and regards
selva
im trying to creating new database using php script the coding is
mysql_query('create database db_name');
but it failed to create when i try to create database with name like test_abc it getting success i can't create database without prefix "test_".. when i try through mysql command prompt it getting create in any name.
the problem im facing only when i try through php script.. i think in php configuration file is there any setting to set database_prefix for creating new database under php script. i gone through php.ini file but there is no setting for that
the above problem in not in my localhost its on remote server..
thanks and regards
selva