Create Baidu Cloud GaiaDB-X Data Source
NineData supports adding data sources of different types and environments to the console for centralized management. After a data source is added, you can use features such as Database DevOps, Backup and Restore, Data Replication, and Data Comparison. This topic describes how to add a Baidu Cloud GaiaDB-X data source to NineData.
Prerequisites
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.

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.

Procedure
Log in to the NineData Console.
In the left-side navigation pane, choose Datasource > Datasource.
On the Datasource tab, click Create Datasource. In the data source type dialog box, choose Baidu Cloud > Cloud Datasource > Cloud Database GaiaDB-X, and then configure the parameters on the Create Datasource page using the table.
tipIf you select the wrong type, click the
icon at the top of the Create Datasource page to reselect the data source type.
Configure the data source parameters:
Parameter Description Name Enter a data source name. Connection Select the connection method. The console currently supports IP Address, Gateway, and SSH Tunnel. Access Method The current fixed value is Connection Address. Connection Address Enter the GaiaDB-X endpoint and port. The default port shown in the console is 3306.DB Account Enter the database login username. DB Password Enter the database login password. Access Region Select the access region nearest to the instance. Environment Select the environment tag for the data source, such as Production or Development. Encryption Specifies 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. After all parameters are configured, click Connection Test on the right of Create Datasource to test connectivity. When Connection Successfully is displayed, click Create Datasource to finish creating the data source.
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 this data source type.