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
Database types and versions supported by DSC can be added. For details, see Table 1.
Database Type |
Version |
---|---|
MySQL |
5.6, 5.7, 5.8, and 8.0 |
SQL Server |
|
PostGreSQL |
11, 10, 9.6, 9.5, 9.4, and 9.1 |
Oracle |
10 and 12 |
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 pane, choose Assets and select the Database tab and then the Unauthorized tab.
Figure 1 Unauthorized database assets
- 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, PostgreSQL, SQLServer, and Oracle
MySQL
Version
Version number corresponding to the database engine
5.6
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.
Figure 3 Connectivity test
DSC 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. Click Cause to view the failure cause.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot