What Should I Do If a Database Client Problem Causes a Connection Failure?
Troubleshoot RDS connection failures caused by a client problem by checking the following items:
- ECS Security Policy
In Linux, run iptables to check whether the RDS instance port is enabled in firewall settings.
- Application Configuration
Check whether the connection address, port parameter configuration, and JDBC connection parameter configuration are correct.
- Username or Password
Check whether the username or password is correct if an error similar to the following occurs during RDS DB connection:
- [Warning] Access denied for user 'username'@'yourIp' (using password: NO)
- [Warning] Access denied for user 'username'@'yourIp' (using password: YES)
![](https://support.huaweicloud.com/eu/rds_faq/public_sys-resources/note_3.0-en-us.png)
If the problem persists, contact post-sales technical support.
Database Connection FAQs
- What Should I Do If I Can't Connect to My RDS DB Instance?
- Can an External Server Access the RDS Database?
- What Do I Do If the Number of RDS Database Connections Reaches the Upper Limit?
- What Is the Maximum Number of Connections to an RDS DB Instance?
- How Can I Create and Connect to an ECS?
- What Should I Do If an ECS Cannot Connect to an RDS DB Instance Through a Private Network?
- What Should I Do If a Database Client Problem Causes a Connection Failure?
- What Should I Do If an RDS Database Problem Causes a Connection Failure?
- How Do My Applications Access an RDS DB Instance in a VPC?
- Do Applications Need to Support Reconnecting to the RDS DB Instance Automatically?
- Why Cannot I Ping My EIP After It Is Bound to a DB Instance?
- How Can I Obtain the IP Address of an Application?
- Can I Access an RDS DB Instance Over an Intranet Connection Across Regions?
- Is an SSL Connection to a DB Instance Interrupted After a Primary/Standby Switchover or Failover?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more