MySQL Drop DBDeleting a database. MySQL DROP DATABASE Statement The DROP DATABASE statement is used to drop an existing SQL database. Be careful! The DROP DATABASE statement deletes the database and ALL data within it. This action cannot be undone! Syntax DROP DATABASE databasename; ExampleDROP DATABASE myDB;Try it Yourself PreviousNext