Outdated Version

You are viewing an older version of this section. View current production version.


Use a database or schema.

USE db_name | schema_name


  • db_name is the name of a MemSQL database.
  • schema_name is the name of a MemSQL schema.
  • This command must be run on the master aggregator or a child aggregator node (see Node Requirements for MemSQL Commands ).


memsql> USE test;
Database changed