Skip to main content

SHOW CATALOG

Description

Shows properties of specified catalog

Syntax

SHOW CATALOG <catalog_name>

Required Parameters

1. <catalog_name>

The name of the catalog to be displayed.

Return Value

Column NameDescription
KeyConfiguration property name.
ValueConfiguration property value.

Access Control Requirements

PrivilegeObjectNotes
ADMIN_PRIV / SELECT_PRIV / LOAD_PRIV / ALTER_PRIV / CREATE_PRIV / SHOW_VIEW_PRIV / DROP_PRIVCatalogOne of the above permissions is required.

Examples

  1. View specific catalog configuration details

    show catalog test_mysql;
       +----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
    | Key | Value |
    +----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
    | checksum | fdf55dcef04b09f2eaf42b75e61ccc9a |
    | create_time | 2025-02-17 17:21:13.099 |
    | driver_class | com.mysql.cj.jdbc.Driver |
    | driver_url | mysql-connector-j-8.3.0.jar |
    | jdbc_url | jdbc:mysql://127.0.0.1:3306/db |
    | password | *XXX |
    | type | jdbc |
    | use_meta_cache | true |
    | user | root |
    +----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+