Select Page

How to drop a entire MySql Database on the command line in Linux

Login to the MySql command line using something like the following


Then execute the following command to Drop the desired Database


Replace MYDATABASE with the Database name that you want to Drop

Note: Please note that this can’t be undone, so please create a backup before proceeding.

Last Updated On March 23, 2018

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.