Modifying Host IP Addresses for a Database Account
Scenarios
You can modify the host IP addresses that are allowed to access your instance for database accounts you created.
Constraints
This operation cannot be performed for DB instances that are being restored.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the DB instance name.
- In the navigation pane, choose Accounts. Locate the target account and choose More > Modify Host IP Address in the Operation column.
- In the displayed dialog box, enter the new IP addresses.
Figure 1 Modifying host IP addresses
- To enable all IP addresses to access your instance, enter % for Host IP Address.
- To enable all IP addresses in the subnet 10.10.10.X to access your instance, enter 10.10.10.% for Host IP Address.
- To specify multiple IP addresses, separate them with commas (,), for example, 192.168.0.1,172.16.213.9 (no spaces before or after the comma).
- Click OK.
- (Optional) If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.
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