forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2.5 KiB
2.5 KiB
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 Windows, check whether the RDS instance port is enabled in the Windows security policy. In Linux, run iptables to check whether the RDS DB 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)
- Login failed for user 'username'
Parent topic: Database Connection