MySQL Tutorial

A database system used with PHP.

MySQL Drop DB

MySQL DROP DATABASE Statement

The DROP DATABASE statement is used to drop an existing SQL database.

Syntax:

DROP DATABASE databasename;

Note: Be careful before dropping a database. Deleting a database will result in loss of complete information stored in the database!

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics