Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 396 Bytes

deleting-a-database.md

File metadata and controls

19 lines (13 loc) · 396 Bytes

Deleting a Database

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;