Overview
Version
FineReport Version | Functional Change |
---|---|
11.0 | / |
11.0.1 | Changed the database driver package upload method. Now you can implement hot swapping through Driver Management. |
Application Scenario
ClickHouse is a column-oriented database management system (DBMS) for online analytical processing (OLAP) of queries.
This document describes how to connect to ClickHouse.
Preparation
Version and Driver
Download the driver package and upload it to FineReport. For details, see section "Creating a Data Connection" in Driver Management.
Supported Database Version | Driver Download | Driver Name | URL |
---|---|---|---|
20.1.8.41 | cc.blynk.clickhouse.ClickHouseDriver | jdbc:clickhouse://IP address:Port number/Database name |
Connection Information Collection
Before connecting the database, you need to collect the following information.
IP address and port number of the database server
Username and password of the database
Database mode
Procedure
FineReport provides two data connection methods for you:
Method 1: Perform data connection in the designer. For details, see [Designer] JDBC Data Connetion.
Method 2. Perform data connection on the decision-making platform. This document mainly describes this method.
1. Log in to the decision-making platform as the admin, choose System Management > Data Connection > Data Connection Management, and click New Data Connection, as shown in the following figure.

2. Find the ClickHouse icon, as shown in the following figure.
3. Click Custom, select the driver uploaded in section "Version and Driver", and enter the connection information collected in section "Connection Information Collection."
Click Click to Connect Database. If the connection is successful, you can select the pattern, as shown in the following figure.

4. Click Save to save the data connection.
Adding Tables in the Database to FineReport
For details, see Dataset.