You are viewing an older version of this section. View current production version.
Drop the specified database.
DROP DATABASE [IF EXISTS] db_name DROP SCHEMA [IF EXISTS] db_name
db_nameis the name of a MemSQL database.
- This command must be run on the master aggregator node (see Node Requirements for MemSQL Commands).
memsql> DROP DATABASE IF EXISTS test; Query OK, 0 rows affected (0.29 sec)