Skip to main content

Create a Baidu Cloud GaiaDB Data Source

Add a Baidu Cloud GaiaDB data source to NineData. You can then use it for Database DevOps, backup and restore, data replication, database comparison, and other supported features. This guide covers connection mode, endpoint settings, encrypted transmission, environment settings, and the connection test.

Before you begin

  • The server IP address of NineData has been added to the data source allowlist. The server IP address can be viewed by selecting the target region in Access Region on the Create Datasource page.

    server_ip_address

  • Make sure you have available data source quota; otherwise, the data source cannot be added. You can quickly check your remaining quota at the top-right corner of the NineData console.check_quota

Procedure

  1. Log in to the NineData Console.

  2. Go to Datasource > Datasource.

  3. Click the Datasource tab, and then click Create Datasource. In the data source type dialog, choose Baidu Cloud > Cloud Datasource > Cloud Native Database GaiaDB. On the Create Datasource page, configure the parameters using the table.

    tip

    If you select the wrong type, click the arrow_down icon at the top of the Create Datasource page to reselect the data source type.

  4. Configure the data source parameters:

    Parameter
    Description
    NameEnter a data source name. Use a meaningful name so you can find and manage it later.
    ConnectionSelect how NineData connects to the data source. The console supports IP Address, Gateway, and SSH Tunnel.
    Access MethodThe current fixed value is Connection Address.
    Connection AddressEnter the GaiaDB endpoint and port. The default port shown in the console is 3306.
    DB AccountEnter the database login username.
    DB PasswordEnter the database login password.
    Access RegionSelect the access region closest to the instance.
    EnvironmentSelect the environment tag for the data source, such as Production or Development.
    EncryptionChoose whether to enable encrypted transmission. This option is enabled by default in the console. After expanding it, you can choose Prefer or Require, and configure SSL Cipher, server certificate validation, server identity validation, and client certificates when needed.
  5. After you configure all parameters, click Connection Test next to Create Datasource to test connectivity. When Connection Successfully is displayed, click Create Datasource to create the data source. Otherwise, review the connection settings and run the test again.

Result

After the connection test succeeds and you create the data source, it appears in the data source list. You can use it in NineData features that support Baidu Cloud GaiaDB.