Download Couchbase JDBC Driver

What Is a JDBC Driver?

A JDBC driver is a Java library file (.jar) that enables Java applications — including DbSchema — to communicate with a database over a standard API. The driver translates generic JDBC calls into the network protocol understood by Couchbase, so you never have to write low-level socket code. Drivers are typically distributed by the database vendor or as open-source projects.

Understanding the JDBC URL

Every JDBC driver identifies the target database through a connection URL. The URL encodes the hostname, port, database name, and any driver-specific parameters as a single string. The exact syntax varies per driver — the details for Couchbase are listed in the section below.

Download the Couchbase JDBC Driver

Couchbase is a distributed NoSQL cloud database that combines the flexibility of JSON document storage with the power of SQL-like querying via N1QL. It is designed for mission-critical applications requiring high availability, elastic scalability, and low-latency data access. Couchbase supports key-value, document, full-text search, analytics, and eventing workloads in a single platform.

Couchbase JDBC Driver Details

  • Required File(s): couchbase-jdbc-driver-xxx.jar
  • Java Driver Class: com.couchbase.jdbc.CouchbaseDriver
  • JDBC URL: jdbc:couchbase://{HOST}:{PORT}
  • Website: Couchbase

The JDBC driver connects to the Couchbase Analytics Service on port 8095 (or the Query Service on port 8093 for N1QL). Authentication uses a Couchbase username and password. Ensure the Analytics or Query service is enabled on your cluster before connecting.

DbSchema and Couchbase

DbSchema connects to Couchbase via its JDBC driver, allowing visualization of bucket and collection schemas, N1QL query authoring in the SQL editor, and interactive browsing of JSON document collections through the data explorer.

Have connection issues? Contact the DbSchema team for help.

DbSchema Database Designer

Explore Couchbase Visually with DbSchema

Once the JDBC driver is configured, DbSchema connects to your Couchbase database and gives you a full graphical workbench — no command-line required. Available as a free Community Edition and a full-featured PRO Edition. No registration needed to get started.

Interactive ER Diagrams

Reverse-engineer your Couchbase schema into a drag-and-drop ER diagram. Arrange tables visually, add new columns, define foreign keys, and let DbSchema generate the DDL — all without writing SQL by hand.

Interactive ER diagram for Couchbase in DbSchema

Visual Query Builder

Compose Couchbase queries by clicking on tables and columns — no SQL knowledge required. Add joins, filters, groupings, and aggregations through a point-and-click interface, then copy the generated SQL or run it directly against the live database.

Visual query builder for Couchbase in DbSchema

Relational Data Explorer

Browse Couchbase table data and follow foreign key relationships across tables in a single view. Edit cells inline, filter rows, and paginate through large datasets — all without leaving the explorer.

Relational data explorer for Couchbase in DbSchema

Schema Synchronization

Compare your Couchbase schema across development, staging, and production environments. DbSchema generates the exact ALTER statements needed to close the gap and lets you review every change before executing — reducing the risk of unintended schema drift.

Schema synchronization for Couchbase in DbSchema

SQL Editor

Write and execute Couchbase queries in the integrated SQL editor with schema-aware autocomplete, syntax highlighting, and instant result display. Run scripts, inspect execution plans, and export results to CSV or JSON from a single interface.

SQL editor for Couchbase in DbSchema

HTML Schema Documentation

Generate a static HTML site documenting every table, column, type, index, and relationship in your Couchbase schema. Share it with your team or embed it in your project wiki — no extra tooling required.

Schema documentation generator for Couchbase in DbSchema

For the full feature list and edition comparison, visit the DbSchema PRO Edition page.

Go deeper with Couchbase in DbSchema — ER diagrams, Git-based versioning, random data generator, and HTML schema docs. See the full Couchbase guide →