Search This Blog

Thursday, November 22, 2018

Delete a Database in MySQL

It only takes one simple command to delete a database in MySQL, but BEWARE; dropping a database can not be undone! The command is as follows:

DROP DATABASE IF EXISTS my_database;