All Products
Search
Document Center

DataV:Add a MySQL-compatible data source

Last Updated:Mar 10, 2025

This document outlines the steps to add a MySQL-compatible data source in DataV and provides guidance on configuring the necessary parameters. Utilizing a MySQL-compatible data source allows for the integration of older MySQL database versions with DataV widgets.

Prerequisites

Ensure that the MySQL-compatible data source you want to add is prepared.

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

All versions are supported.

Procedure

  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. From the Type dropdown, select MySQL-compatible Database.

  4. Input the database details.

    image

    Parameter

    Description

    Name

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

    Domain Name

    The address to connect to the database.

    Important

    This address must be a domain name or IP address that the DataV server can access through the public network or the internal network in some Alibaba Cloud regions.

    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.

    insecureAuth

    When enabled, it can be compatible with older versions of the MySQL database (below version 5.2, not guaranteed to be fully compatible).

    Compatible With Azure Database For Mysql

    When enabled, it can be compatible with Microsoft's MySQL database.

    Upon entering the database information, the system will automatically test the connection to ensure it can be established successfully.

  5. Once the connection is verified, click OK to finalize the data source addition.

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.