DBeaver / DataGrip / VS Code
Connect the Koinju ClickHouse database from a desktop SQL IDE — DBeaver, JetBrains DataGrip, or VS Code — and run your first query.
Before you start
Host
the provided database URL
Port
8443
Protocol
HTTPS / SSL enabled
Database
api
User/Password
provided by Koinju
Don't have credentials yet? See How to connect.
Port 8443 is the ClickHouse HTTPS interface and is what every HTTP/JDBC-based driver below uses. 9440 is the alternative native-protocol-over-TLS port (used only by the native CLI client).
Step-by-step
DBeaver
Database ▸ New Database Connection.
Pick ClickHouse from the list, click Next.
On the Main tab set:
Host: the provided database URL
Port:
8443Database/Schema:
apiUsername / Password: provided by Koinju
Open the SSL tab and tick Use SSL.
Click Test Connection (DBeaver will offer to download the ClickHouse driver the first time — accept).
Finish.
JetBrains DataGrip
File ▸ New ▸ Data Source ▸ ClickHouse. DataGrip auto-downloads the JDBC driver on first use.
Set the connection either by fields (Host = provided database URL, Port =
8443, Database =api) or by pasting the URL directly:Enter the User and Password provided by Koinju.
Click Test Connection, then OK.
VS Code
Install the SQLTools extension and the SQLTools ClickHouse Driver from the VS Code Marketplace.
Add a new connection with:
Host: the provided database URL
Port:
8443SSL:
trueDatabase:
apiUser / Password: provided by Koinju
Connect and open a new SQL editor against the connection.
First sanity query
Run this in the IDE's SQL editor:
If you get ~20 rows back, you're connected. Next, explore what data is available in Data.
Last updated
Was this helpful?