This version of CockroachDB is no longer supported. Cockroach Labs supports the current stable release and two releases prior. Please use one of these supported versions.

CockroachDB supports the PostgreSQL wire protocol, so you can use any available PostgreSQL client drivers. We’ve tested and can recommend the following drivers.

For code samples using these drivers, see the Build an App with CockroachDB tutorials.

Language Recommended Driver
Go pq
Python psycopg2
Ruby pg
Java jdbc
Node.js pg
C libpq
C++ libpqxx
Clojure java.jdbc
PHP php-pgsql
Rust postgres

Yes No