How do I drop a database in MySQL?
8:48 PM
In order to drop a database, you can run the following commands:
Dropping a MySQL Database
- Login into MySQL
- mysql -uroot -p
- Drop the database from MySQL
- DROP DATABASE database_name;
NOTE - Make sure you want to do this before issuing the command or back this up first if you need to so you can restore the same if you make a mistake
- DROP DATABASE database_name;
0 comments