We can delete an existing database in MySQL using the Drop database
statement.
show databases;
To see all the databases available.
drop database <database-name>;
For example:
drop database ccapp;
drop database somedb;
drop database if exists <database-name>;
drop database if exists somedb;
show databases;
drop database <database-name>;
drop database somedb2;
drop database practicedb;
drop database if exists <database-name>;
drop database if exists practicedb;