HostOnNet Blog

Ubuntu: How to drop a MySql database

Looking for Linux Server Admin or WordPress Expert? We can help.

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.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.