All Products
Search
Document Center

ApsaraDB RDS:Use Navicat to connect to an ApsaraDB RDS instance

Last Updated:Jun 19, 2025

This topic describes how to use Navicat to connect to an RDS instance that runs MySQL, SQL Server, PostgreSQL, or MariaDB. Navicat is a third-party database management tool.

Prerequisites

Before you connect to an RDS instance, you must create an RDS instance of the required database engine, create databases and accounts for the RDS instance, and configure an IP address whitelist for the RDS instance.

Procedure

  1. Start the Navicat client.

  2. In the toolbar, click Connection and select the type of the database to be connected.

    Note

    If your Navicat client is outdated, Alibaba Cloud is not displayed. You can select a database type such as MySQL or PostgreSQL.

    创建连接

  3. Enter information about the RDS instance to which you want to connect. The following table describes the required parameters.

    连接设置

    Parameter

    Description

    Connection Name

    Enter a custom name for the connection.

    Host

    Enter the internal or public endpoint of the RDS instance.

    • If your client is deployed on an Elastic Compute Service (ECS) instance and the ECS instance is created by using the same Alibaba Cloud account and resides in the same region and virtual private cloud (VPC) as the RDS instance, use the internal endpoint.

    • In other situations, use the public endpoint.

    Port

    Enter the internal or public port of the RDS instance. For example, the default port of an RDS for MySQL instance is 3306.

    User Name

    Enter the username of the account that is used to connect to the RDS instance.

    Password

    The password of the account that is used to connect to the RDS instance.

  4. Click OK.

    Note

    If the enhanced whitelist mode is enabled for your RDS instance and you want to connect your device to the instance over the Internet, you must add the public IP address of the device to the IP address whitelist of the classic network type.

    连接成功

References

You can also use methods such as Data Management (DMS) or the CLI to connect to an RDS instance. For more information, see the following documents:

Connect to an RDS for MySQL instance

Connect to an RDS for SQL Server instance

Connect to an RDS for PostgreSQL instance

Connect to an RDS for MariaDB instance

FAQ

For more information about how to troubleshoot the issue that you cannot connect to an RDS instance, see What do I do if I fail to connect to an ApsaraDB RDS instance?