Help Center/
GaussDB(for MySQL)/
FAQs/
Database Connections/
What Can I Do If the Connection Test Failed?
Updated on 2023-10-19 GMT+08:00
What Can I Do If the Connection Test Failed?
Fault Locating
- Check security group rules.
- Check network ACLs.
- Check the NIC information of ECSs.
- Check the disconnected ports.
Solution
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click in the upper left corner of the page, choose .
- On the Instances page, click the instance name to go to the Basic Information page. In the Network Information area of the page, view the VPC where the instance is located.
- Check whether the instance to which distributed transactions are added is in the same VPC as an ECS.
- If they are in the same VPC, see Why Does Communication Fail Between Two ECSs in the Same VPC or Packet Loss Occur When They Communicate?
- If they are in different VPCs:
- Public access: Bind an EIP to the instance. For details, see Binding an EIP.
- Private access: Create a VPC peering connection.
- Change the VPC hosting the ECS to the same as that hosting the GaussDB(for MySQL). For details, see Changing a VPC.
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.
The system is busy. Please try again later.