Overview
Process
Figure 1 illustrates the process of connecting to an RDS for MySQL DB instance through a public network.
Server |
Connection Tool |
IP Address |
Default Port |
Security Group Rules |
---|---|---|---|---|
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. |
|
Database client such as MySQL-Front |
EIP |
3306 |
To connect to a DB instance from a Linux ECS, perform the following steps:
- Step 1: Buy an ECS: Purchase and log in to a Linux ECS.
- Step 2: Test Connectivity and Install a MySQL Client: Test the network connectivity between the ECS and the EIP and port of the RDS for MySQL DB instance, and install a MySQL client.
- Step 3: Connect to the DB Instance Using Commands (Non-SSL Connection): Use the MySQL CLI to connect to the DB instance via the EIP and port.
To connect to a DB instance from a local Windows server, perform the following steps:
- Step 1: Test Connectivity and Install MySQL-Front: Test the network connectivity between the local server and the EIP and port of the RDS for MySQL DB instance and install MySQL-Front (MySQL-Front is used as an example).
- Step 2: Connect to the DB Instance Using MySQL-Front: Use MySQL-Front to connect to the DB instance using the EIP and port.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot