This topic was translated by AI and is currently in queue for revision by our editors. Alibaba Cloud does not guarantee the accuracy of AI-translated content. Request expedited revision

Add an User-Created TiDB Data Source

Updated at: 2025-01-20 09:52

Learn how to add a TiDB data source in Quick BI to establish a connection with a self-managed TiDB database, enabling data analysis and visualization. Quick BI supports TiDB connections over the Internet. This topic guides you through the process of integrating a self-managed TiDB data source with Quick BI.

Prerequisites

  • You have created a self-managed TiDB database.

  • You have obtained the username and password for the self-managed TiDB database.

Limits

Version 7.1.3 is supported.

Procedure

  1. Add Quick BI's IP address to the whitelist of your TiDB data source.

    Before connecting, ensure that Quick BI's IP address is added to the whitelist of your self-managed TiDB data source.

  2. Log on to the Quick BI console.

  3. Access the data source creation interface via the data source creation entry.

  4. Select the TiDB data source from the list. image

  5. In the Configure Connection dialog box, based on your business scenario, you can configure the following settings. image

    Name

    Description

    Name

    Description

    Display Name

    The name displayed in the datasource config list.

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

    Database Address

    The address where the TiDB database is deployed, including IP or domain name.

    Port

    The port number corresponding to the database.

    Database

    The custom database name when deploying the TiDB database.

    Username and Password

    The username and password for logging on to the TiDB database.

    Ensure that the username has create, insert, update, and delete permissions on tables in the database.

    Initialization SQL

    After enabling, you can configure the SQL statement to be executed after the data source connection is initialized.

    Only SET statements are allowed for the SQL statement executed after each data source connection initialization. Separate statements with periods.

  6. Click the Connection Test button to verify the data source connectivity.

    image

  7. Once the test succeeds, click OK to finalize the addition of the data source.

What to Do next

After the data source is established, you can proceed to create datasets and analyze data.

  • On this page (0, M)
  • Prerequisites
  • Limits
  • Procedure
  • What to Do next
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare