remove db in mysql code example Example 1: mysql delete database DROP DATABASE dbname Example 2: delete database mysql command DROP DATABASE databasename