delete databse my sql code example Example 1: mysql delete database DROP DATABASE dbname Example 2: delete database mysql command DROP DATABASE databasename