drop database if exists mysql code example
Example 1: mysql drop database if exists
DROP DATABASE IF EXISTS database_name;
Example 2: mysql drop database
DROP DATABASE ma_base
Example 3: mysql database drop
mysql -e "DROP DATABASE db_name;"
DROP DATABASE IF EXISTS database_name;
DROP DATABASE ma_base
mysql -e "DROP DATABASE db_name;"