All Products
Search
Document Center

DataV:Add PolarDB for MySQL data source

Last Updated:Mar 10, 2025

This topic explains how to add a PolarDB for MySQL data source to DataV, including details on the relevant parameter configurations. PolarDB is a cloud-native relational database from Alibaba that is fully compatible with MySQL syntax.

Prerequisites

You must have a PolarDB for MySQL data source ready to add.

Important

You must first add the whitelist IP address of the corresponding area to your data source whitelist to ensure that DataV-Board can access your database normally. For more information, see configure database whitelist.

Limits

Supports only Enterprise Edition or higher.

Add a data source through the intranet

  1. Access the DataV console.

  2. On the Workbench page, click Data Preparation > Data Source to access the Data Source page, and then click Create Data Source.

  3. Select PolarDB for MySQL from the Type list.

  4. Choose Intranet and select the region where your PolarDB instance is located.

    image

  5. Enter the database information. image

    Parameter

    Description

    Name

    The display name of the data source. You can specify a custom name.

    VPC ID

    The ID of the VPC-connected instance. This VPC is where your PolarDB for MySQL instance resides. You can go to the PolarDB console and obtain it from the instance basic information page. You can configure and add the DataV VPC intranet address of the instance's region to the whitelist to view the VPC ID and VPC Instance ID. 获取实例id

    Instance ID

    The ID of the database instance in the VPC. You can obtain it from the instance basic information page in the PolarDB console.

    Domain Name

    The intranet address used to connect to the database.

    Important

    This address is the domain name or IP address that the DataV server can access through the public network or the intranet in certain Alibaba Cloud regions.

    For example, when using Alibaba Cloud PolarDB for MySQL in an intranet environment, the domain name might look like: xxxxxxxx.mysql.polardb.rds.aliyuncs.com. You can go to the instance basic information page in the PolarDB console, click to configure and add the DataV VPC intranet address of the instance's region to the whitelist. Once the intranet address takes effect, you can use it.

    Port

    The port set for the database. The default value is 3306.

    Username

    The username that is used to log on to the database.

    Password

    The password that is used to log on to the database.

    Database

    The name of the currently selected database.

  6. Once the database information is entered, the system will automatically test the connection to ensure it can connect to the database successfully.

  7. Click OK after a successful connection test to finish adding the data source.

    The new data source will be listed automatically in the data source list.

Add a data source through the internet

  1. Access the DataV console.

  2. On the Workbench page, click Data Preparation > Data Source to access the Data Source page, and then click Create Data Source.

  3. Select PolarDB for MySQL from the Type list.

  4. Choose Internet from the list.

  5. Provide the necessary information for the PolarDB for MySQL data source.

    image

    Parameter

    Description

    Name

    The display name of the data source. You can specify a custom name.

    Domain Name

    The internet address used to connect to the database.

    Important

    This address is the domain name or IP address that the DataV server can access through the public network or the intranet in certain Alibaba Cloud regions.

    For example, when using Alibaba Cloud PolarDB for MySQL in an internet environment, the domain name might look like: xxxxxxxx.mysql.polardb.rds.aliyuncs.com. You can go to the instance basic information page in the PolarDB console, click to request an internet address, and configure and add the DataV internet whitelist. Once the internet address takes effect, you can use it.

    Port

    The port set for the database.

    Username

    The username that is used to log on to the database.

    Password

    The password that is used to log on to the database.

    Database

    The name of the currently selected database.

  6. After entering the information, click OK to add the data source.

    The new data source will appear automatically in the data source list.

What to do next

Once you have the raw data, you can consult datasource config for widget data adaptation.

FAQ

For additional questions, consult the FAQ about datasource config.