Skip to content

Connecting to ClickHouse

Prerequisites

  • PuppyGraph version 0.73 or higher
  • The ClickHouse instance is accessible over the network from the PuppyGraph instance.

Configuration

Configuration Explanation
Username The username of the database
Password The password of the database
JDBC URI A JDBC compatible connection URI of the data source. Read this page for more details on how to construct the URI.
JDBC Driver Class

The class name of the JDBC Driver.

The default value is com.clickhouse.jdbc.ClickHouseDriver, and typically you don’t need to change it.

JDBC Driver URL

The URL of the ClickHouse JDBC Driver.

Please choose the version of the driver that is compatible with your Clickhouse database.

Demo

See Querying ClickHouse Data as a Graph for a complete demo for ClickHouse. The demo includes setting up the connection to a ClickHouse instance.