drop database if exists mysql cascade code example Example 1: mysql drop database DROP DATABASE ma_base Example 2: mysql delete database DROP DATABASE dbname