mysql_create_db(db_name[, link_id])
This function creates a new MySQL database with the specified name, using the default or specified (link_id) MySQL connection. It returns true on success, or false on error. The function name mysql_createdb may also be used, but is deprecated.
Note |
mysql_create_db is deprecated. Use mysql_query to issue a CREATE DATABASE command to MySQL instead. |