> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/security/user-account-management/catalogs/use-catalog.md).

# USE CATALOG

{% hint style="info" %}
Catalogs are planned for an upcoming release, and don't yet appear in any current releases.
{% endhint %}

## Syntax

```bnf
USE CATALOG catalog_name
```

## Description

Changes to another [catalog](/docs/server/security/user-account-management/catalogs.md).\
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](/docs/server/reference/sql-statements/administrative-sql-statements/use-database.md). Changing database.

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
