Skip to content
Databases

Cockroach Labs CockroachDB Community — Default Password

Default username and password for the Cockroach Labs CockroachDB Community: root / (blank). Learn how to log in and how to change the default credentials.

In insecure mode (--insecure flag), the root user has no password and all connections are trusted. This mode is documented for development and testing but is frequently encountered in production deployments. In secure mode (default for v21.2+), root requires a TLS client certificate; password-based login is not permitted for root in secure mode.

UsernamePasswordAccessVersion / firmwareNotes
root
(blank / none)
Databaseinsecure mode (--insecure flag)

Responsible use

This database lists publicly documented default credentials so administrators can find and change them. Only use these on systems you own or are authorized to test.

Related devices