Add a TencentDB for SQL Server data source to Quick BI for data analysis and visualization.
Prerequisites
-
A TencentDB for SQL Server instance is created.
-
You have the username and password for the TencentDB for SQL Server instance.
Limitations
SQL Server 2008 to 2022 are supported.
Procedure
-
Configure an IP address whitelist.
Before you connect to TencentDB for SQL Server, add the IP addresses of Quick BI to the IP address whitelist for your TencentDB for SQL Server instance. For instructions, see Configure a security group.
-
Test the connection and create the data source.
-
Log on to the Quick BI console.
-
Follow these steps to add a data source:
-
Go to the data source creation page. For more information, see Create a data source.
-
On the Tencent Cloud tab, select TencentDB for SQL Server.

-
-
-
In the Configure Connection dialog box, configure the following parameters.

Parameter
Description
Display name
The display name shown in the data source list.
The name must not contain special characters or leading or trailing spaces.
Database address
The hostname or public IP address of the TencentDB for SQL Server instance.
To obtain the public IP address, log on to the Tencent Cloud console, enable the public endpoint on the instance details page, and find the address in the basic information section.
For more information, see Connect to a SQL Server instance from a local client.
Port
The port number. Default: 1433.
Database
The name of the database.
Schema
The schema name. Default: dbo.
Username
The username for accessing the database.
Password
The password for the username.
Enable file upload
Enable this option to allow file uploads.
Initial SQL
Enable this option to run SQL statements automatically after a connection is established.
The statements run each time the data source is initialized. Only
SETstatements are allowed. Separate multiple statements with semicolons (;). -
Click Test Connection to verify the data source connection.

-
If the connection test is successful, click OK to add the data source.
Next steps
After you add the data source, create a dataset to start analyzing data.
-
To add tables or custom SQL queries from the TencentDB for SQL Server data source to Quick BI, see Create a dataset.
-
To add visual charts and analyze data, see Create a dashboard and Overview of visual charts.
-
To drill down into your data, see Step 3: Configure and display drill-down settings.