DBeaver
Cassandra
Database Configuration
Data Management
SQL Tools
How to connect DBeaver to Cassandra (JDBC driver setup)
Codemia Knowledge Hub ·
Register a Cassandra JDBC driver in DBeaver's Driver Manager, then create a new database connection that points at a Cassandra node (default port 9042) with your credentials. After that you can browse keyspaces and run CQL from DBeaver.
Prerequisites
- DBeaver installed. Download it from the DBeaver official website.
- Apache Cassandra set up and running. See the Apache Cassandra documentation to install it.
- Java Development Kit (JDK) 1.8 or higher, since both Cassandra and DBeaver require it.
Step 1: Install the Cassandra JDBC driver
- Open DBeaver and go to the
Databasemenu. - Click
Driver Manager. - If no
Cassandradriver is listed, clickNew. - Enter:
- Driver Name: Cassandra
- Class Name:
com.simba.cassandra.jdbc42.Driver(adjust based on the driver version) - URL Template:
jdbc:cassandra://<host>:<port>(replace<host>and<port>with your Cassandra host and port)
- Click
Librariesand add the JAR file(s) for the Cassandra JDBC driver.- You can download the driver from vendor sites or repositories like Maven Central.
- Click
OK.
Step 2: Create a new connection
- Open the
Databasemenu. - Select
New Database Connection. - Choose
Cassandrafrom the list. - Enter the connection details:
- Host: IP address or hostname of your Cassandra node.
- Port: Cassandra's default port is 9042.
- Username/Password: credentials that match your Cassandra setup.
- Click
Test Connection, and if it succeeds, clickFinishto save the connection.
Step 3: Work with Cassandra in DBeaver
- Browse keyspaces: keyspaces are Cassandra's top-level elements, like databases in SQL systems. You can view, create or delete them.
- Work with tables: run queries, inserts, updates and deletes through query panels or visual editors.
- Run CQL: use the SQL console for Cassandra Query Language (CQL) commands, complex operations or batch scripts.
If the connection fails
- Compatibility: the Cassandra version, the JDBC driver and DBeaver must be compatible with each other.
- Security: a secured cluster may need extra configuration such as SSL/TLS options, authentication and proprietary protocols.
- Network access: the machine running DBeaver must be able to reach the Cassandra instance through firewalls and network policies.
| Key Area | Description |
| JDBC Driver | Driver is essential for connection. Provide correct JAR file. |
| Connection Details | Requires host and port. Default port is 9042. |
| Authentication | Provide valid credentials. Often uses simple authentication. |
| Networking | Ensure network access is not blocked by firewalls. |
| Technical Compatibility | Check version compatibility among DBeaver, Cassandra, and the JDBC driver. |
| Advanced Security | May require SSL/TLS and secure authentication configurations. |
Related reading
- How to configure the slow query log in TiDB?
- How to connect ASP.Net Core to a SQL Server Docker container on Mac
- How to connect locally hosted MySQL database with the docker container
- How to connect mongodb clients to local Meteor MongoDB
- How to connect MySQL running on Kubernetes
- How to connect to Cassandra inside a Pylons app?
- How to connect to local clickhouse db form container?
- How to connect to MySQL from the command line
System design interview problems on this topic
- Design a Distributed OLTP Database: solution and walkthrough
- Design a Wide Column Database: solution and walkthrough
- Design a Key Value Store: solution and walkthrough
- Design a Web Cache: solution and walkthrough

Course
Beginner
27 lessons
10 hours
System Design Fundamentals
Build a strong foundation in designing scalable, reliable distributed systems.
View the courseSystem Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.