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.
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.
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:
We don't need the table name now, just the database name. So, let's fill out the form:
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.
You can then use this connection in reports. Now let's try to make a simple report based on this connection:
Of course, take a look at the report preview:
If we compare the data in the original table with our report, it's obvious that the connection is working fine.