Changing Catalog
You are viewing an old version of this article. View
the current version here.
Syntax
USE CATALOG catalog_name
Description
Changes to another catalog. Can only be done by a super user in the 'def' catalog. Changing catalog will update catalog status and reset all session status.
A tenant (a user in any other catalog than 'def') cannot change to another catalog.
However he can execute USE CATALOG current_catalog
. This is to allow the
user to import SQL scripts that is using USE CATALOG...
.
See also
- USE database. Changing database.
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.