Note:
Cockroach Labs supports the current stable release and two releases prior. Therefore, this version will no longer be supported after the Fall 2019 release.

The SHOW DATABASES statement lists all database in the CockroachDB cluster.

Synopsis

SHOW DATABASES

Required Privileges

No privileges are required to list the databases in the CockroachDB cluster.

Example

> SHOW DATABASES;
+--------------------+
|      Database      |
+--------------------+
| bank               |
| system             |
+--------------------+
(5 rows)

See Also



Yes No