Updated on 2025-05-21 GMT+08:00

User Management

Multiple users with different permissions can be created to access a DB instance or database, but the permissions of these users cannot exceed the operation permissions of the account.

Creating a User

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > User Management.

    Figure 1 User list

  7. Click Create User. On the displayed page, enter the user information, such as basic information, basic permissions, extended permissions, and schema (optional), and select the read policy type.

    DDM supports most of MySQL syntax and permissions. For more information about MySQL accounts and permissions, see MySQL Documentation.

  8. Ensure that the settings are correct and click Save.

Editing a User

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > User Management.
  7. In the user list, locate the user whose information you want to edit and click Edit in the Operation column.
  8. On the displayed page, edit basic information, basic permissions and extended permissions, and click Save.

Deleting a User

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > User Management.
  7. In the user list, locate the user that you want to delete and click Delete in the Operation column.
  8. In the displayed dialog box, click Yes.