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