Help Center > > User Guide> Logging In to Databases Shared by Others

Logging In to Databases Shared by Others

Updated at: Jun 09, 2021 GMT+08:00

Scenarios

You have a database instance and want to share it with another HUAWEI CLOUD account or another user of the same account, but you do not want this other account or user to know the password of the shared login, or view your database instances besides the shared one.

Prerequisites

  • There are two HUAWEI CLOUD accounts, or one account and two IAM users.
  • You have obtained the UID (user ID) of the IAM user.
  • You have logged in to the DAS console.

Constraints

  • Users having shared database logins cannot add databases or users.
  • Shared databases do not have the data tracking, rollback, and background task features.

Procedure

  1. Log in to the DAS console using the username and password of an IAM user.
  2. On the overview page, click Go to Development Tool.
  3. In the right pane, click the Database Logins Shared by Others tab.

    Figure 1 Database Logins Shared by Others

  4. Click View My UID. On the displayed page, copy the UID.

    Figure 2 My UID

  5. Log in to the DAS console using the username and password of the account.
  6. On the overview page, click Go to Development Tool.
  7. On the My Database Logins tab, locate the login you want to share and click the number in the Sharers column.

    Figure 3 Login list

  8. On the displayed Add Sharer page, click Add Sharing.

    Figure 4 Viewing users of the shared login

  9. On the displayed Add Sharer page, select the adding method.

    Figure 5 Add Sharer
    • Manual input: Enter the UID of user to whom you want to share your database login. If multiple users need to be added, separate their UIDs with semicolons (;).
    • Synchronize IAM account: Select another IAM user of the current account.
    • Synchronize EPS user: Select the target users from the group of the enterprise project.

  10. Confirm the settings and click OK.
  11. Return to the DAS console and check whether the users are successfully added.

    Figure 6 Added successfully

  12. Click Log In to log in to the shared database.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel