Help Center/
GaussDB(for MySQL)/
FAQs/
Database Connections/
What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) Instance?
Updated on 2023-09-15 GMT+08:00
What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) Instance?
Perform the following steps to identify the problem:
- Check whether the ECS and GaussDB(for MySQL) instance are located in the same VPC.
- If they are in the same VPC, go to 2.
- If they are in different VPCs, create an ECS in the VPC where the instance is located.
- Check whether a security group has been created for the ECS.
- If a security group has been created, check whether its rules are appropriate.
For details, see the security group description in "Creating an Instance" in the GaussDB(for MySQL) Getting Started. Then, go to 3.
- If no security group has been created, go to the VPC console from the ECS details page and create a security group.
- If a security group has been created, check whether its rules are appropriate.
- Check whether the ECS can connect to the instance over the instance port.
The default port of a primary/standby instance is 3306.
telnet <IP address> {Port number}
- If the ECS can connect to the instance, no further action is required.
- If the ECS still cannot connect to the instance port, contact technical support.
Parent topic: Database Connections
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot