dropping database mysql code example Example 1: delete database mysql DROP DATABASE dbname; Example 2: mysql delete database DROP DATABASE dbname