mysql_drop_db(database_name[,link_identifier])

Description: Drops (deletes) a MySQL database whose name is given by database_name, returning TRUE on success; FALSE otherwise.

Note: Deprecated, so its use is not recommended. mysql_query() should be used instead with a DROP DATABASE SQL command.

See also: mysql_query()

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.