All Products
Search
Document Center

Quick BI:Microsoft Cloud Data Source MySQL

Last Updated:Apr 28, 2024

The MySQL data source is used to connect the MySQL database on Microsoft Cloud to the Quick BI. After the connection is successful, you can analyze and display data on the Quick BI. This topic describes how to add a Microsoft Cloud MySQL data source.

Prerequisites

A Microsoft Cloud MySQL database is created.

Limits

Supports 5.5, 5.6, 5.7, and 8.0 versions.

Procedure

  1. Add the elastic IP address (EIP) of the exclusive resource group for Data Integration or the CIDR block of the vSwitch with which the resource group is associated to the IP address whitelist of the data source that the resource group needs to access.

    Before connecting to Tencent Cloud MySQL, you need to add the Quick BI IP address to the whitelist of Microsoft Cloud MySQL.

  2. Add a Hologres data source and verify that the data source can be connected.

    1. After you log on to the Quick BI console.

    2. Follow the instructions in the following figure to add a data source

      1. Go to the Create Data Source page.

      2. Select MySQL Data Source.

        image

      3. Select Microsoft Cloud for Data Source Type.

        image

    3. In the Configure Connection dialog box, configure the following settings based on your business requirements.

      Feature

      Description

      Source Type

      The MySQL data source type supports Alibaba Cloud, Tencent Cloud, HUAWEI CLOUD, Microsoft Cloud, AWS, and self-managed MySQL data sources.

      In this example, select Microsoft Cloud.

      Name

      The name of the data source. The name is displayed in the data source list.

      The name cannot contain special characters or start or end with spaces.

      Database Address and Port Number

      The public endpoint where the MySQL database is deployed. Log on to the Azure portal and obtain the public endpoint.

      Instance

      The name of the database to which you want to connect.

      Username and Password

      The username and password that are used to access the ApsaraDB RDS for MySQL database.

      Note

      Make sure that the user who logs on to the ApsaraDB RDS for MySQL database has the CREATE, INSERT, UPDATE, and DELETE permissions on tables in the database.

      Engine Version

      The version of the MySQL database.

      If the database type is MySQL 5.7 or below, select 5.7. If the database type is MySQL 8.0, select 8.0.

      SSL

      If SSL is configured for the destination data source, you can select SSL to protect data security.

      Initialize SQL statements

      The SQL statement that is initialized and executed after each data source connection. Only SET statements are allowed. The statements are separated by semicolons.

      Enable the file upload portal

      You can upload files after you enable this function.

    4. Click Test Connection to verify that the data source can be connected.

      image

    5. Click OK.

What to do next

After you add a data source, you can create a dataset and analyze data.