Edit instance information

更新时间: 2026-04-05 16:55:01

After you register an instance in Data Management (DMS), you can edit its Instance Owner, DBA, basic information (such as the database account, Security Hosting, and Security Rules), or advanced information (such as the Environment Type, Lock-free Schema Change, and query and export timeouts).

This page covers the following tasks:

Prerequisites

Before you begin, ensure that you have:

  • The Administrator or DBA system role in DMS

Change instance owner or DBA

Before you change ownership:

    Note
    • The new Instance Owner must be a registered DMS user. To add a user, see User Management.

    • The new DBA must be a registered DMS user with the DBA system role.

    • An instance can have multiple Instance Owners but only one DBA.

  1. Log on to the .

  2. In the database instance list on the left, find the target instance.

  3. Right-click the instance name and change the DBA or Instance Owner.

Enable or disable Security Hosting

See Enable Security Hosting.

Change the environment type

Environment types

The Environment Type of an instance takes effect only in DMS. DMS provides eight environment types in two categories:

Category Environment type Environment ID
Test Development dev
Test test
SIT sit
UAT uat
Performance test pet
Staging stag
Production Production product
Pre-production pre

Steps

  1. Log on to the Data Management (DMS) V5.0.

  2. In the database instance list on the left, find the target instance.

  3. Right-click the instance name and choose Edit.

  4. In the Advanced Information section, find Environment Type and select the target type from the drop-down list.

  5. Click Save.

Export instance configurations

Export instance configurations—such as Control Mode, Environment Type, and instance source—to manage instance resources offline.

Note

For security reasons, exported configurations do not include the database account or password.

  1. Log on to the .

  2. In the top navigation bar, choose Data Assets > Instances.

    Note

    If you use the DMS console in simple mode, move the pointer over the icon in the upper-left corner and choose All Features > Data Assets > Instances.

  3. On the Instance List tab, select the target instances.

  4. Choose More > Export Configuration.

Your browser downloads an Excel file named instances.

Batch edit instance information

  1. Log on to the .

  2. In the top navigation bar, choose Data Assets > Instances.

    Note

    If you use the DMS console in simple mode, move the pointer over the icon in the upper-left corner and choose All Features > Data Assets > Instances.

  3. On the Instance List tab, select the target instances and click Batch edit.

    Note

    All selected instances must be of the same database type, for example, all MySQL.

  4. In the dialog box, select the checkboxes for the configuration items you want to change and edit the instance information.

FAQ

  • Why do I get an "Access denied for user 'example_user'@'%' to database 'example_db'" error when creating a database in DMS?

    The database account lacks permission to create databases. Either grant the necessary permissions in the instance console, or log on to DMS with a more privileged account. For details, see Modify account permissions.

上一篇: Risk audit report 下一篇: Synchronize a data dictionary
阿里云首页 数据管理 相关技术圈