Learn how to add a Tencent Cloud MySQL data source in Quick BI to enable data analysis and visualization. This topic guides you through the process of establishing a connection.
Prerequisites
You must have a Tencent Cloud MySQL database created.
Limits
The service supports MySQL versions 5.5, 5.6, 5.7, and 8.0.
Procedure
Add a whitelist entry.
Before connecting Quick BI to Tencent Cloud MySQL, add the Quick BI IP address to the Tencent Cloud MySQL whitelist.
Establish and verify the data source connection.
Log on to the or the international Quick BI console.
Use the guide below to navigate to the data source creation interface.
Enter the data source creation interface via the data source creation entry.
Select the MySQL data source option.
Choose Tencent Cloud as the data source type.
In the Configure Connection dialog box, configure the connection according to your business needs.
Name
Description
Data Source Type
The MySQL data source type supports Alibaba Cloud, Tencent Cloud, Huawei Cloud, Microsoft Cloud, AWS, and self-built.
In this example, select Tencent Cloud.
Display Name
The display name in the datasource config list.
The name cannot contain special characters or start or end with spaces.
Database Address and Port
The public address where the MySQL database is deployed. Log on to the Tencent Cloud MySQL console, enable the public address on the instance product page, and view it in the basic information.
Database
The name of the database to be connected.
Username and Password
The username and password that are used to access the MySQL database.
NoteEnsure that the user who logs on to the MySQL database has the create, insert, update, and delete permissions on the tables in the database.
Database Version
The version of the MySQL database to be deployed.
If the database type is MySQL 5.7 or earlier, select 5.7. If the database type is MySQL 8.0, select 8.0.
SSL
If the target data source is configured with SSL, you can select the SSL protocol to protect data security.
Initialize SQL
After enabling, you can configure the SQL statement to be executed after the data source connection is initialized.
Only SET statements are allowed for the SQL statement executed after each data source connection is initialized, and statements are separated by periods.
Enable Upload File Entry
After enabling, file upload is supported.
Click Connection Test to verify the data source's connectivity.
Once the test is successful, click OK to finalize the data source addition.
What to Do next
After the data source is set up, proceed to create datasets and analyze data.
To incorporate data tables from the MySQL data source or to use custom SQL in Quick BI, refer to Create and Manage Datasets.
For adding visualization charts and data analysis, see Create a Dashboard and Overview of Visualization Charts.
To explore in-depth data analysis, consult Drill Settings and Display.