Updated on 2025-12-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 Database > Relational Database Service.
  4. On the Instances page, locate the target DB instance, click next to it, and edit the DB instance name. Then, click OK.

    Alternatively, click the target DB instance to go to the Basic Information page. Find DB Instance Name, click , and 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 result on the Basic Information page.