Skip to content

DROP DATABASE

Drop a database.

Syntax

DROP DATABASE [IF EXISTS] <database_name>

Examples

mysql> DROP DATABASE test;