Synopsis
int mysql_create_db(MYSQL *mysql, const char *database)
This function can be used to create a new database on the
MySQL server, with the new database name given as the second argument.
However, this function has been deprecated. Instead, a CREATE
DATABASE statement should be given with
mysql_query() or
mysql_real_query().