How to Delete A Database In MySQL/MariaDB

August 14, 2019 Liquid Web

In this video, we look at how to list the databases as well as how to delete a MySQL/MariaDB database from the command line.

The commands user are:

mysql - u root -p (enter your password)

DROP DATABASE tutorial_database;

DROP DATABASE IF EXISTS tutorial_database;

SHOW DATABASES; +------------------------------------+ | Database | +------------------------------------+ | information_schema | | mysql | | performance_schema | |webdata | +------------------------------------+ 4 rows in set (0.00 sec)

The related article for this video can be found here:

For more information about this and other topics, visit us at or

Want to work with this and other hot technologies? Check out our full line of Dedicated Servers:

Video by: Andrew Casares

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our newsletter to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Getting Started With Flask
Getting Started With Flask

In this video tutorial, we will be showing you how to get started with Flask and build a web application. F...

Next Video
Listing And Switching Databases In PostgreSQL
Listing And Switching Databases In PostgreSQL

In this video, we demonstrate how to list and switch between databases quickly and easily on your Ubuntu 16...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now