Download the Cassandra JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.
A JDBC driver is a Java .jar library that lets applications connect to Cassandra.
DbSchema uses JDBC to reverse engineer schemas, run SQL, and generate documentation.
Driver files are usually published by the database vendor or an open-source project.
Host, port, database name, and SSL options are passed in a URL starting with jdbc:.
Each Cassandra driver uses its own syntax — see the connection details below.
Apache Cassandra is a highly scalable, distributed NoSQL database designed for high availability with no single point of failure. It uses a wide-column data model and is ideal for write-intensive workloads, time-series data, and globally distributed applications.
For connecting to Cassandra we wrote our own open-source JDBC driver, available on GitHub.
The driver is written on top of the native Cassandra Java Driver. For connecting to multiple hosts you can pass an URL like: jdbc:cassandra://host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[keyspace];dataCenter[&options]]
Find the DataCenter using nodetool status or nodetool -h ::FFFF:127.0.0.1 status
Connecting using SSL is possible setting the parameters:
javax.net.ssl.trustStore=/path/to/client.truststore&javax.net.ssl.trustStorePassword=password123&
javax.net.ssl.keyStore=/path/to/client.keystore&javax.net.ssl.keyStorePassword=password123
These parameters can be also set in DbSchema.vmoptions file in the installation folder or ./DbSchema.app/Contents/vmoptions.txt on Mac OS, and add:
-Djavax.net.ssl.trustStore=/path/to/client.truststore
-Djavax.net.ssl.trustStorePassword=password123
# If you're using client authentication:
-Djavax.net.ssl.keyStore=/path/to/client.keystore
-Djavax.net.ssl.keyStorePassword=password123
Download Cassandra JDBC Driver
The driver archive is a zip file. Unzip the downloaded archive to get the driver files. The driver source code can be found on GitHub repository. Check the GitHub link for details on how to use the driver and configure SSL.
The driver is written on top of the standard DataStax Java driver.
DbSchema's open-source Cassandra JDBC driver maps keyspaces and tables into a visual schema explorer. Use DbSchema to browse partition keys, clustering columns, and secondary indexes, and to run CQL queries through the SQL editor interface.
Connect Cassandra, build your first ER diagram in minutes. No account required.
Get the Cassandra driver zip below and install DbSchema for Windows, macOS, or Linux.
In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.
Reverse engineer Cassandra, edit the model visually, and publish schema documentation.
After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.
Reverse engineer Cassandra into an interactive diagram and edit structures visually.
Run SQL with autocomplete or compose queries without writing every join by hand.
Export HTML docs your team can browse without installing DbSchema.
Connection tips, ports, SSL, and schema design workflows on the database landing page.
Other drivers teams often configure alongside Cassandra.
Teams working with Cassandra often use these engines too. Explore dedicated guides and JDBC setup for each.