Updated on 2022-07-04 GMT+08:00

Modifying the Owners of Databases and Tables

During actual use, developers create databases and tables and submit them to test personnel for testing. After the test is complete, the databases and tables are transferred to O&M personnel for user experience. In this case, you can change the owner of the databases and tables to transfer data to other owners.

Modifying the Database Owner

You can change the owner of a database on either the Data Management page or the SQL Editor page.
  • On the Data Management page, change the database owner.
    1. On the left of the management console, choose Data Management > Databases and Tables.
    2. On the Databases and Tables page, select the database to be modified and click Modify in the Operation column.
    3. In the displayed dialog box, enter a new owner name (an existing username) and click OK.
  • Change the database owner on the SQL Editor page.
    1. On the left of the management console, click SQL Editor.
    2. In the navigation tree on the left, click Databases and Tables, click on the right of the corresponding database, and choose Modify Database from the shortcut menu.
    3. In the displayed dialog box, enter a new owner name (an existing username) and click OK.

Modifying the Table Owner

  1. On the left of the management console, choose Data Management > Databases and Tables.
  2. Click the name of the database corresponding to the table to be modified. The Manage Tables page of the database is displayed.
  3. In the Operation column of the target table, choose More > Modify Owner.
  4. In the displayed dialog box, enter a new owner name (an existing username) and click OK.