Link Search Menu Expand Document

DROP DATABASE

Deletes a database.

Syntax

Deletes the database and all of its tables and attached engines.

DROP DATABASE [IF EXISTS] <database_name>

Parameters

Parameter Description
<database_name> The name of the database to be deleted