This topic describes how to access an Alibaba Cloud database instance from Database Autonomy Service (DAS).

Prerequisites

You can use automatic authorization to access the following database instances from DAS:
  • RDS MySQL
  • RDS PostgreSQL
  • PolarDB MySQL
  • PolarDB PostgreSQL
  • PolarDB-O
  • Redis
  • MongoDB

Use automatic authorization

  1. Log on to the DAS console.
  2. In the Recommended Features section of the Overview page, click Access Instance.
  3. Click Alibaba Cloud Database.
  4. Configure the following parameters to select the database instance and click Access Instance.
    Parameter Description
    Select Engine The type of the database. You can authorize users to access the following types of databases by using usernames and passwords: ApsaraDB RDS for MySQL, ApsaraDB RDS PostgreSQL, PolarDB for MySQL, PolarDB for PostgreSQL, PolarDB-O, ApsaraDB for Redis, and ApsaraDB for MongoDB.
    Access Status The access status of the database.
    Region The region where the database is deployed.
    Instance ID/Name The ID or name of the instance.
  5. If you do not need to add more databases, you can click Complete. If you want to access more databases, click Add More.