drop database mtysql code example Example 1: mysql drop database DROP DATABASE ma_base Example 2: mysql database drop mysql -e "DROP DATABASE db_name;"