How To Add/Remove A MySQL Database


In this quick and easy post I will show you how to create and delete a database for MySQL in Ubuntu.

Creating A MySQL Database in Terminal

sudo mysql -p
create database <databasename>;

Delete/Drop A MySQL Database in Terminal

sudo mysql -p
drop database <databasename>;

I hope this has helped you create or drop a MySQL database in terminal.

Recent Incoming Guest Searches:

Leave a Reply

Please type the characters of this captcha image in the input box

You must type in the above characters to post a comment

You have mistyped the captcha : to prove that your are not a spam machine, please retry!