Not sure how often this would be used, but If you want to delete a db from your computer locally. Maybe because you're testing something you can do it by logging into mySQL
mysql -uroot -p[your_root_password]
And doing the following:
mysql> DROP DATABASE database_name
Check if it's been deleted successfully
mysql> SHOW DATABASES;