Random Linux

Linux, video games and web hosting

You can delete a mysql database by going into the mysql command prompt and using the drop database command.  Therefore, if you have a database named data_base that you would like do delete, you can do the following:

mysql>drop database data_base;

Then, to recreate that database, use the create database command

mysql>create database data_base;

January 10th, 2011

Posted In: MySQL


Leave a Reply

Your email address will not be published. Required fields are marked *