where to delete mysql db code example Example 1: delete database mysql DROP DATABASE dbname; Example 2: mysql remove database mysql> drop database <db_name>;