Help Center/ Relational Database Service/ Getting Started/ Getting Started with RDS for MySQL/ Buying an RDS for MySQL Instance and Connecting to It Using a MySQL Client
Updated on 2025-11-11 GMT+08:00

Buying an RDS for MySQL Instance and Connecting to It Using a MySQL Client

After buying a DB instance, you can connect to it using a Linux ECS with a MySQL client installed over a private network. This section describes how to access a DB instance from an ECS using a standard MySQL client.

Operation Process

Process

Description

Step 1: Buy an RDS for MySQL Instance

Select required basic settings and additional options and buy an RDS for MySQL instance.

Step 2: Buy an ECS

If you want to connect to a DB instance using a MySQL client, you need to prepare a server, install a MySQL client on the server, and run the connection command.

Purchase a Linux ECS that is in the same region and VPC as your DB instance.

If you have purchased a Windows ECS, you can connect to the DB instance using MySQL-Front. For details, see Buying an RDS for MySQL Instance and Connecting to It Using MySQL-Front.

Step 3: Test Connectivity and Install a MySQL Client

Test the network connectivity between the ECS and the floating IP address and port of the DB instance, and install a MySQL client on the ECS.

Step 4: Connect to the DB Instance Using a CLI (Non-SSL Connection)

Use a command-line interface (CLI) to connect to the DB instance through the floating IP address and port.

Step 1: Buy an RDS for MySQL Instance

Select required basic settings and additional options and buy an RDS for MySQL instance. For details, see section "Buying an RDS for MySQL DB Instance" in Relational Database Service User Guide.