How to use ClickHouse with the reporting tool FastReport Cloud

FastReport Cloud is a cloud service (SaaS) designed to store, edit, build and deliver reports for your business. Your entire team can access these reports from anywhere in the world, and there's no need to create your own application.

   FastReport Cloud 试用(qun:585577353)icon-default.png?t=N7T8https://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=60357&configID=149250&jid=1316272045&s=1

ClickHouse is a popular database that facilitates data analysis. In this article, you will learn how to connect to this database from the FastReport Cloud Service for report generation and storage.

For example, this article will use the tutorial database on using ClickHouse.

Database screenshot

In our case, "Default" is the name of the database and "My First Table" is the name of the table. To add our database as a data source, select "ClickHouse" when adding a source. You will see the following dialog box:

Add ClickHouse connection

We don't need the table name now, just the database name. So, let's fill out the form:

Filled out form to add connection

As you can see from the dialog box, the connection test was successful. Now just click "Connect" and the connection will be saved in the existing connection.

Connect to ClickHouse in the data sources menu

You can then use this connection in reports. Now let's try to make a simple report based on this connection:

Online designer with open reports

Of course, take a look at the report preview:

Preview reports using ClickHouse data

If we compare the data in the original table with our report, it's obvious that the connection is working fine.

Guess you like

Origin blog.csdn.net/m0_67129275/article/details/134856057
Recommended