int
mysql_drop_db(MYSQL *mysql,
const char *db)
Drops the database named by the db
parameter.
This function is deprecated. Use
mysql_real_query()
or
mysql_query()
to issue an SQL
DROP DATABASE
statement
instead.
-
Commands were executed in an improper order.
-
The MySQL server has gone away.
-
The connection to the server was lost during the query.
-
An unknown error occurred.