Updated on 2024-04-11 GMT+08:00

Overview

Process

Figure 1 illustrates the process of connecting to an RDS for MySQL DB instance through a public network.

Figure 1 Connecting to a DB instance through a public network
Table 1 Connection methods

Server

Connection Tool

IP Address

Default Port

Security Group Rules

Linux ECS

MySQL CLI

EIP

3306

To access your DB instance from a server that is not in the same security group as your DB instance, configure an inbound rule for the security group with which your DB instance is associated. For details, see Configuring Security Group Rules.

Local Windows Server

Database client such as MySQL-Front

EIP

3306

To connect to a DB instance from a Linux ECS, perform the following steps:

To connect to a DB instance from a local Windows server, perform the following steps: