DROP DATABASE

Description

Drop a database.

Syntax

  1. > DROP DATABASE [IF EXISTS] <database_name>

Examples

  1. CREATE DATABASE test01;
  2. mysql> DROP DATABASE test01;
  3. Query OK, 0 rows affected (0.01 sec)