How to Delete Database in MySql – Terminal May 20, 2018 by Amulya Shahi DROP DATABASE mydb; This is the database drop command is. Make sure you are logged in the MySQL server MySQL -u -root -p and then run the database drop command to delete MySQL database using the terminal. Related Posts MySQL Tutorial: Create Database, Table, & Insert Values MySQL is not recognized as an internal or external command How to create database in phpMyAdmin