How to Delete A Database In MySQL/MariaDB

Kelvion New Plate Heat Exchanger


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: https://www.liquidweb.com/kb/delete-a-mysql-database-on-linux-via-command-line

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or https://www.youtube.com/user/LiquidWebInc.

Want to work with this and other hot technologies? Check out our full line of Dedicated Servers:  https://www.liquidweb.com/products/dedicated/

Video by: Andrew Casares


Duration: 2:19
Publisher: Liquid Web
You can watch this video also at the source.