delete an entire mysql database code example
Example 1: mysql delete database
DROP DATABASE dbname
Example 2: delete database mysql command
DROP DATABASE databasename
Example 3: mysql remove database
mysql> drop database <db_name>;
DROP DATABASE dbname
DROP DATABASE databasename
mysql> drop database <db_name>;