nav-img
Advanced

Modifying Host IP Addresses

Scenarios

You can change the host IP addresses that are allowed to access your instance as needed.

Constraints

  • This operation cannot be performed for DB instances that are being restored.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service.
  4. On the Instances page, click the DB instance name.
  5. In the navigation pane, choose Accounts. Locate the target account and choose More > Modify Host IP Address in the Operation column.

    • 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).

  6. Click OK.