Warning:
This version of CockroachDB is no longer supported. For more details, see the Release Support Policy.

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