Answered by : kaotik
DROP DATABASE dbname;
Source : | Last Update : Mon, 09 Mar 20
Answered by : rasel-ahmed-9kilyai1mdfd
--The DROP DATABASE statement is used to drop an existing SQL database.
DROP DATABASE databasename;
Source : | Last Update : Fri, 01 Jul 22
Answered by : marjolaine-baratte
DROP DATABASE ma_base
Source : https://sql.sh/cours/drop-database | Last Update : Thu, 11 Jun 20
Answered by : ajiboye-adeleye-pius
-- to delete database
DROP DATABASE <database_name>
-- to create database
CREATE DATABASE <database_name>
Source : | Last Update : Wed, 14 Sep 22
Answered by : strange-seal-yu74ltcnarzb
DROP DATABASE databasename
Source : | Last Update : Fri, 28 Aug 20
Answered by : mobile-star
DROP DATABASE dbname
Source : | Last Update : Tue, 10 Mar 20
Answered by : hamza-bin-sajid
The DROP DATABASE statement drops all tables in the database and deletes the database permanently. Therefore, you should be very careful when using this statement.
The following shows the syntax of the DROP DATABASE statement:
DROP DATABASE [IF EXISTS] database_name;
In MySQL, the schema is the synonym for the database, therefore, you can use them interchangeably:
DROP SCHEMA [IF EXISTS] database_name;
Source : https://www.mysqltutorial.org/mysql-drop-database/ | Last Update : Mon, 26 Oct 20
Answered by : agreeable-ape-dkbzfiziw85n
mysql> drop database `my-database`;
Source : https://stackoverflow.com/questions/1082130/how-do-i-remove-a-mysql-database | Last Update : Sun, 25 Jul 21
Answered by : repulsive-reindeer-vusih3d0k0hk
DROP DATABASE databasename TO DELETE DATABASE
Source : | Last Update : Fri, 16 Oct 20
Answered by : mobile-star
mysql> drop database <db_name>;
Source : | Last Update : Mon, 16 Mar 20