Delete MySQL Database
How to remove MySQL Database Using DROP Command?
Explanation
Delete MySQL Database :
We Can deleting MySQL Database using
DROP command. The following example deletes the database sample.
mysql> drop database sample;
Query OK, 1 row affected (0.05 sec)
This query will delete MySQL database sample. The query will permanently remove the database.
DROP DATABASE drops all tables in the database and deletes the database. Once the
DROP command is used, then we cannot use that database. So, we should be careful with this command.