SQL DROP DATABASE Statement
The SQL DROP DATABASE Statement
The DROP DATABASE statement is used to drop an existing SQL database.
Syntax
DROP DATABASE databasename;Tip: Make sure you have admin privileges before dropping any database.
Once a database is dropped, you can check it in the list of databases with the following SQL command:
SHOW DATABASES;