Create an AnalyticDB for MySQL 3.0 cloud data source in Quick BI to query and visualize your data.
Prerequisites
-
An Alibaba Cloud AnalyticDB for MySQL 3.0 database is created.
-
The account and password for the AnalyticDB for MySQL 3.0 database are obtained.
Limitations
Only workspace administrators and developers can add data sources.
Procedure
-
Configure a whitelist.
Add the IP addresses of Quick BI to the whitelist of your AnalyticDB for MySQL 3.0 instance. Configure a whitelist.
-
Log on to the Quick BI console.
-
Go to the data source creation page.

-
For database version, select Alibaba AnalyticDB for MySQL 3.0.

-
-
Select an engine type and configure the parameters in the Add AnalyticDB for MySQL 3.0 Data Source dialog box.
-
Select XIHE Engine (MPP)
Parameter
Description
display name
Display name of the data source.
No special characters or leading/trailing spaces allowed.
database address
Public endpoint of the AnalyticDB for MySQL 3.0 instance. For VPC data sources, enter the private endpoint.
Find the address in the AnalyticDB for MySQL console under connection information. Example: am-xxxxxxxxxxxxxxxxxxxx.ads.aliyuncs.com
port
Connection port. Default: 3306.
database
Name of the target database.
account and password
Database account and password. The account must have
CREATE,INSERT,UPDATE, andDELETEpermissions on the tables in the database.VPC data source
Select VPC data source if the database is in an Alibaba Cloud VPC, and configure the following parameters.
-
Credentials to access the database. The account must have read permissions on the target instance. With write permissions, IP addresses are automatically whitelisted; otherwise, add them manually. For more information, see Create a custom policy.
Obtain the AccessKey ID and AccessKey Secret from the RAM console. Obtain an AccessKey.
-
instance ID and region: ID and region of the database instance.
Find these values in the AnalyticDB for MySQL console.
NoteWhen using a VPC data source, enter the private address and port.
Initialize SQL
Enable to run SQL statements on each connection.
Only
SETstatements are allowed. Separate multiple statements with semicolons (;). -
-
Select Spark Engine
Parameter
Description
display name
Display name of the data source.
No special characters or leading/trailing spaces allowed.
database address
Connection endpoint of the resource group. For VPC data sources, enter the VPC endpoint.
To find the resource group address:
-
Log on to the AnalyticDB for MySQL console and click the target cluster's ID to open its details page.
-
In the left-side navigation pane, choose Cluster Management > Resource Management, and then click the Resource Groups tab.
-
In the Actions column of the target resource group, choose .
port
Connection port. Default: 3306.
database
Name of the target database.
resource group name
Name of the target resource group.
Find this in the AnalyticDB for MySQL console under Cluster Management > Resource Management > Resource Group Management.
account and password
Database account and password. The account must have
CREATE,INSERT,UPDATE, andDELETEpermissions on the tables in the database.Initialize SQL
Enable to run SQL statements on each connection.
Only
SETstatements are allowed. Separate multiple statements with semicolons (;). -
-
-
Click Test Connection.

-
After the test succeeds, click OK.
Next Steps
After the data source is created, create a dataset and analyze your data.
-
Add tables or custom SQL to a Quick BI dataset. Create a dataset.
-
To add visualizations and analyze data, see Create a dashboard and Overview of visualizations.
-
Drill down into data for deeper analysis. Step 3: Configure and display drill-downs.