DBeaver Community Edition is a free cross-platform database tool for developers, database administrators, and data analysts. DBeaver supports all popular SQL databases such as MySQL, MariaDB, PostgreSQL, and SQLite series.
warning
Recommended to use DBeaver version 24.2.2 or above for better compatibility.
Click Database - New Database Connection, select “ClickHouse” on the page, and click Next.
Configure connection settings.
Parameter | Connect using IAM user | Connect using database user |
|---|---|---|
Host | Configure the network domain name for ByteHouse, which you can find in ByteHouse Console under Tenant Management>basic information>Network Information. See details Step 2: Set network information. | |
Port | Database port number, configured with a fixed value: 8123. | |
Username & password |
|
|
Switch to the SSL page and enable the SSL feature.
If your version differs from the above interface, set the ssl parameter to true on the driver properties page.
(Optional) Configure the default calculation group under the driver properties tab.
tip
If you have multiple compute groups, you can set the default compute group used after connecting to ByteHouse in this step; if not set, the default compute group configured in the console will be used after connecting.
virtual_warehouse=your_virtualwarehouse_id.your_virtualwarehouse_id is the default calculation group ID used after connecting to ByteHouse. You can find the corresponding calculation group ID on the Calculation Group page in the ByteHouse Console.Click “Test Connection” at the bottom left. If it shows Connected, the setup is successful.
Click Complete to work with the ByteHouse database on the DBeaver main interface.
If you are using a newer version of DBeaver, you may encounter the following error:
You can resolve this issue by configuring the DBeaver driver manager as follows:
com.clickhouse:clickhouse-jdbc:RELEASE [0.x.x] and click Delete.If you encounter the following error during connection:
LZ4 is not supported. Please disable compression(compress=0), modify the algorithm(e.g. compress_algorithm=gzip), or add the missing libraries to the classpath.
You can resolve this issue by configuring the driver property in the connection settings and setting compress to false.
If you encounter the following error during connection:
Connection reset
You can resolve this issue by configuring the driver property in the connection settings and setting ssl to true.