Updated on 2023-09-26 GMT+08:00

Changing a DB Instance Name

Scenarios

You can change the name of a primary DB instance or read replica.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, locate the target DB instance and click next to it to edit the DB instance name. Then, click OK.

    Alternatively, click the target DB instance to go to the Basic Information page. In the DB Instance Name field in the DB Information area, click to edit the DB instance name.

    The instance name must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.

    • To submit the change, click .
    • To cancel the change, click .

  5. View the results on the Basic Information page.