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 most available PostgreSQL client drivers should work with CockroachDB.

This page features drivers that we have tested enough to claim beta-level support. This means that applications using advanced or obscure features of a driver may encounter incompatibilities. If you encounter problems, please open an issue with details to help us make progress toward full support.
For code samples using these drivers, see the Build an App with CockroachDB tutorials.
App Language Recommended Driver
Go pq
Python psycopg2
Ruby pg
Java jdbc
Node.js pg
C libpq
C++ libpqxx
C# (.NET) Npgsql
Clojure java.jdbc
PHP php-pgsql
Rust postgres

Yes No