mysql_drop_db

mysql_drop_db -- drop (delete) MySQL database

Description

int mysql_drop_db(string database_name, int [link_identifier] );

Returns: true on success, false on failure.

mysql_drop_db() attempts to drop (remove) an entire database from the server associated with the specified link identifier.

See also: mysql_create_db(). For downward compatibility mysql_dropdb() can also be used.