- Gather your ClickHouse details
QStudio uses JDBC over HTTP(S) to connect to ClickHouse; you need:
- endpoint
- port number
- username
- password
| Parameter(s) | Description |
|---|---|
HOST and PORT | Typically, the port is 8443 when using TLS or 8123 when not using TLS. |
DATABASE NAME | Out of the box, there is a database named default, use the name of the database that you want to connect to. |
USERNAME and PASSWORD | Out of the box, the username is default. Use the username appropriate for your use case. |
curl command.
If you’re using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.
- Download QStudio
QStudio is available at https://www.timestored.com/qstudio/download/
- Add a database
- When you first open QStudio click on the menu options Server->Add Server or on the add server button on the toolbar.
- Then set the details:
- Server Type: Clickhouse.com
- Note for Host you MUST include https:// Host: https://abc.def.clickhouse.cloud Port: 8443
- Username: default
Password:
XXXXXXXXXXX - Click Add
- Query ClickHouse
- Open a query editor and run a query. You can run queries by
- Ctrl + e - Runs highlighted text
- Ctrl + Enter - Runs the current line
- An example query: