How to Delete MySQL Database
To remove an existing database, you can use the DROP DATABASE statement.
The grammar is as follows:
DROP DATABASE database_name;
Original: 我想要一杯咖啡。
Paraphrased: I would like a cup of coffee.
DROP DATABASE mydatabase;
After running the above statement, the database named “mydatabase” will be deleted. Please be aware that deleting a database will permanently remove all the data stored within it, so proceed with caution.