HostOnNet Blog

Ubuntu: How to drop a MySql database

Login as MySQL root or admin user:

$ mysql -u root -p


Now lets drop database ‘otrs’ using below command:

mysql> DROP DATABASE otrs;


Lets create the same database again using below command:

mysql> CREATE DATABASE otrs;

empty_mysql_5once done, close the session

mysql> quit


About Vineesh Mohan

A Technical Support specialist with strong customer service and good communication skills. I live in the city of Cochin, which known as the Queen of Arabian Sea.
Posted in MySQL, Ubuntu. Bookmark the permalink.