Skip to main content
SHOW DATABASES lists databases in your current cluster or an external data source. The database supports viewing databases of an external data source from v2.3 onwards.

Syntax

Parameters

Examples

Example 1: View databases in your current cluster.
Or
The output of the preceding statements is as follows.
Example 2: View databases in a Hive cluster by using the Hive1 external catalog.

References