Help Center/ Relational Database Service_RDS for MySQL/ FAQs/ Database Connection/ What Should I Do If an RDS Database Problem Causes a Connection Failure?
Updated on 2026-03-24 GMT+08:00

What Should I Do If an RDS Database Problem Causes a Connection Failure?

Check whether any of the following problems occurred on the RDS instance.

  1. The RDS instance is not properly connected.

    Solution: Check the connection. If you connect to the RDS instance through a private network, the ECS and RDS instance must be in the same VPC and the DB instance can be accessed only through the ECS. If you choose to access an RDS instance through a public network, the ECS and DB instance can be in different VPCs.

  2. The maximum number of connections has been reached.

    Solution: Use RDS resource monitoring to check if the number of current connections and the CPU usage are within the allowed ranges. If either of them has reached the maximum, reboot, disconnect, or scale up the specifications of the RDS instance.

  3. The DB instance is abnormal. For example, the instance is stuck during restart, the RDS system is faulty, or the instance or a table is locked.

    Solution: Reboot the RDS DB instance to see if the problem is resolved. If the problem persists, contact post-sales technical support.