USE CATALOG
MariaDB starting with 11.8
Catalog support is planned for 11.8.
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 tenants can execute USE CATALOG current_catalog
. This is to allow the
user to import SQL scripts that use USE CATALOG...
.
See Also
- USE database. Changing database.
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.