All Products
Search
Document Center

Quick BI:Add a DM Data Source

Last Updated:Jul 03, 2026

Add a DM data source to connect your DM database to Quick BI for data analysis and visualization. Quick BI supports connections to DM databases over the public network or through an Alibaba Cloud VPC.

Prerequisites

  • Ensure network connectivity:

    • If you connect Quick BI to your DM database over the public network, add the IP addresses of Quick BI to the database whitelist. For more information, see Security groups.

    • If you connect Quick BI to your DM database over an internal network, use one of the following methods to connect:

      • If your DM database is hosted on an Alibaba Cloud ECS instance, you can connect through an Alibaba Cloud VPC.

      • You can also set up a bastion host and use an SSH tunnel to access the database.

  • You have created a DM database.

  • You have the username and password for your DM database.

Limitations

  • DM 7.0 and 8.0 are supported.

  • Only MySQL-compatible mode is supported.

Procedure

  1. Log on to the Quick BI console.

  2. Add a data source as follows:

    1. Go to the data source creation page.

    2. On the User-created data source tab, select DM.image

  3. In the Configure Connection dialog box, set the parameters as needed.image

    Parameter

    Description

    Display Name

    The display name of the data source.

    The name must not contain special characters or leading or trailing spaces.

    Database Address

    The IP address or domain name of the DM database host.

    Port

    The port number of the database.

    Database

    The name of the database specified at deployment.

    Username and Password

    The username and password for the DM database. Ensure that this user has the create, insert, update, and delete permissions on the tables in the database.

    VPC data source

    If your DM database is hosted on an Alibaba Cloud ECS instance in an Alibaba Cloud VPC, select VPC data source and configure the following parameters: 

    • AccessKey ID: The AccessKey ID of the instance owner's account.

      For more information, see Create an AccessKey.

      Note

      Ensure that the AccessKey ID has the Read permission for the target instance. If the AccessKey ID also has the Write permission for the corresponding security group, the system automatically adds the required IP addresses to the whitelist. Otherwise, you must add them manually. For more information, see Create a custom policy.

    • AccessKey Secret: The AccessKey Secret of the instance owner's account.

      For more information, see Create an AccessKey.

    • Instance ID: The ID of the ECS instance. Log on to the ECS console and obtain the instance ID from the Instances page.

      For more information, see View instance information.

    • Region: The region of the ECS instance.

      For more information, see View instance information.

    SSH

    If you select SSH, configure the following parameters:

    Set up a bastion host and use an SSH tunnel to access the database. Contact your O&M engineer or system administrator for the bastion host information.

    • SSH Host: The IP address of the bastion host.

    • SSH Username: The username for the bastion host.

    • SSH Password: The password for the specified SSH username.

    • SSH Port: The port on the bastion host. The default is 22.

    For more information, see Use OpenSSH or Xshell.

  4. Click Test Connection to verify the connection.

    image

  5. After a successful connection test, click OK to add the data source.

Next steps

After you add the data source, you can create datasets and analyze your data.