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 Name | Description |
---|---|
Key | Configuration property name. |
Value | Configuration property value. |
Access Control Requirements
Privilege | Object | Notes |
---|---|---|
ADMIN_PRIV / SELECT_PRIV / LOAD_PRIV / ALTER_PRIV / CREATE_PRIV / SHOW_VIEW_PRIV / DROP_PRIV | Catalog | One of the above permissions is required. |
Examples
-
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 |
+----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+