On this page
Warning:
As of October 4, 2019, CockroachDB v2.0 is no longer supported. For more details, refer to the Release Support Policy.
The SHOW DATABASES
statement lists all database in the CockroachDB cluster.
Synopsis
Required Privileges
No privileges are required to list the databases in the CockroachDB cluster.
Example
> SHOW DATABASES;
+--------------------+
| Database |
+--------------------+
| bank |
| system |
+--------------------+
(5 rows)