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

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

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

  1. The DB instance is not properly connected.

    Solution: Check the connection. If you connect to the RDS DB instance through a private network, the ECS and DB instance must be in the same VPC and the DB instance can be accessed only through an ECS in the same VPC. If you connect to an RDS DB 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 for MariaDB resource monitoring to check if the CPU usage and the number of connections are within the allowed ranges. If either of them has reached the maximum, reboot, disconnect, or upgrade the specifications of the RDS for MariaDB instance.

  3. The DB instance is abnormal. For example, the DB instance fails to be rebooted, the system is faulty, or the instance or any table is locked.

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