---
name: CockroachDB
menu: Connecting to Databases
route: /docs/databases/cockroachdb
index: 13
version: 1
---

## CockroachDB

The recommended connector library for CockroachDB is
[sqlalchemy-cockroachdb](https://github.com/cockroachdb/sqlalchemy-cockroachdb).

The expected connection string is formatted as follows:

```
cockroachdb://root@{hostname}:{port}/{database}?sslmode=disable
```
