Install Client Drivers

Warning:
CockroachDB v1.0 is no longer supported as of November 10, 2018. For more details, refer to 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