This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-25. For the latest, interactive version please visit https://mariadb.com/kb/.

USE CATALOG

MariaDB starting with 11.9

Catalog support is planned for 11.9.

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

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.