Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.
Drop the specified database.
DROP DATABASE [IF EXISTS] db_name [FORCE] DROP SCHEMA [IF EXISTS] db_name [FORCE]
db_nameis the name of a MemSQL database.
DROP DATABASEcommand waits for the running queries to finish before dropping the database. To override this behavior and kill any running queries, use the
memsql> DROP DATABASE IF EXISTS test;
memsql> DROP DATABASE IF EXISTS db FORCE;