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
Database Connections FAQs
- Can an External Server Access the GaussDB(for MySQL) Database?
- What Do I Do If the Number of GaussDB(for MySQL) Database Connections Reaches the Upper Limit?
- What Is the Maximum Number of Connections to a GaussDB(for MySQL) Instance?
- What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) Instance?
- How Can I Connect to a MySQL Database Through JDBC?
- How Can I Create and Connect to an ECS?
- What Should I Do If a Database Client Problem Causes a Connection Failure?
- Why Cannot I Ping My EIP After It Is Bound to a DB Instance?
- What Can I Do If the Connection Test Failed?
- Can I Access a GaussDB(for MySQL) Instance over an Intranet Connection Across Regions?
- Are There Any Potential Risks If There Are Too Many Connections to a GaussDB(for MySQL) Instance?
- What Should I Do If an ECS and a GaussDB(for MySQL) instance Deployed in Different VPCs Cannot Communicate with Each Other?
- How Do I View All IP Addresses Connected to a Database?
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.
more