How do I delete a mysql database?

How do I delete a mysql database?

by Eric Kemsley -
Number of replies: 2
How do I delete a mysql database?
Average of ratings: -
In reply to Eric Kemsley

Re: How do I delete a mysql database?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
depends what mysql client you have access to...

If you have access to the command line, something like

mysql -u root
drop database moodle

Other than that, install and use phpmyadmin.
In reply to Eric Kemsley

Re: How do I delete a mysql database?

by Simon Bryan -
The real simple way is to delete the disk folder containing all the tables and then restart MySQL. You get no warnings or second chances, so using Webmin for a Linux server of MySQLAdmin is probably the best way.
Average of ratings: Useful (1)