Adding a Self-Built Database
Add self-built database assets.
Prerequisites
- DSC has been allowed to access the database assets. For details, see Allowing or Disallowing Access to Cloud Assets.
- The self-built database engine, version, and database server address have been obtained. There are available IP addresses in the corresponding subnet.
Constraints
Only asset types and versions supported by DSC can be added. For details, see Table 1.
Asset Type |
Version |
---|---|
MySQL |
5.6, 5.7, 5.8, and 8.0 |
SQL Server |
|
KingBase |
V8 |
DMDBMS |
7 and 8 |
GaussDB for openGauss |
1.4 |
PostgreSQL |
11, 10, 9.6, 9.5, 9.4, and 9.1 |
TDSQL |
10.3.X |
Oracle |
11, 12 |
DDS |
4.2, 4.0, and 3.4 |
DWS |
4.2, 4.0, and 3.4 |
Elasticsearch |
5.x, 6.x, and 7.x |
OBS |
V3 |
Procedure
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project.
- In the navigation pane on the left, click
and choose .
- In the navigation tree on the left, choose Asset Management > Assets. On the displayed Assets page, choose Figure 1. . The Unauthorized Database page is displayed, as shown in
- In the upper left corner of unauthorized database assets, click Add Self-Built Database.
- In the displayed dialog box, set database parameters. For details, see Table 2.
Figure 2 Adding a self-built database
Table 2 Parameters for adding a self-built database Parameter
Description
Example Value
Asset
Database name
N/A
Region
Region where the account is used for login
N/A
ECS
Select an ECS instance created in ECS from the drop-down list.
N/A
Security Group
Name of the security group to which the ECS instance belongs
default
Database Engine
Database engine
Value options: MySQL, TDSQL, KingBase, DMDBMS, PostgreSQL, SQLServer, and Oracle
MySQL
Version
Version number corresponding to the database engine
5.6
Schema Name
Database schema name
N/A
Database Server Address
IP address of the database server
N/A
Port
Port number of the database server
N/A
Database
Self-built database name
N/A
Username
Username for logging in to the database server
N/A
Password
Password for logging in to the database server
N/A
- Click OK. The authorized databases are displayed on the Authorized tab page.
Figure 3 Connectivity testDSC will check the connectivity of the added database, and the connectivity status of the added database is Checking.
- If DSC can access the added database, the connectivity status is Succeeded.
- If the DSC cannot access the added database, the connectivity status Failed. View the failure cause and follow the instructions described in How Do I Troubleshoot the Failure in Connecting to the Added Database? to handle the problem.
Related Operations
- Allow or disallow access to database assets. For details, see Allowing or Disallowing Access to Cloud Assets.
- Delete database assets. For details, see Editing a Database.
- Edit database assets. For details, see Deleting a Database.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.