mysqladmin drop as schema code example
Example 1: mysql drop database if exists
DROP DATABASE IF EXISTS database_name;
Example 2: mysql delete database
DROP DATABASE dbname
DROP DATABASE IF EXISTS database_name;
DROP DATABASE dbname