Data Source
Creating a Data Source
- Log in to the MAS console and choose Data Management > Data Sources.
- Select a target namespace in the upper left corner.
- Click Create Data Source in the upper right corner.
- Configure the data source and click OK.
Figure 1 Creating a data source
Table 1 Data source parameters Parameter
Description
Deployment Mode
The active/standby area to which the data source belongs
Data Source Type
Options: MySQL, PostgreSQL, Redis, and OpenGauss. If a target data source is unavailable, enable the corresponding feature by modifying the namespace. For details, see Modifying a Namespace.
Data Source
Keep the default name or customize one.
Description
Enter a description for the data source.
Mode
The connection mode
Connection Address
The address and port number for accessing the database. This is required if Mode is set to Custom.
Database Name
The name of the database. This is required if Mode is set to Custom.
Credential
The default credential set for the current multi-active area is used. This is displayed if Mode is not set to Custom.
Project
The default project set for the current multi-active area is used. This is displayed if Mode is not set to Custom.
Instances
Select an existing database instance. This is displayed if Mode is not set to Custom.
Username
The username for logging in to the database
Password
The password for logging in to the database
Confirm Password
Enter the password again.
If you need to create sync links for MySQL or PostgreSQL data sources, ensure that at least one of your MySQL data sources and one of your PostgreSQL data sources is using RDS, that is, its Mode is set to RDS.
Deleting a Data Source
- Log in to the MAS console, choose Data Management > Data Sources, and click Delete in the row that contains a target data source.
- Click OK to delete the data source.
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