Help Center/ Relational Database Service_RDS for MariaDB/ FAQs/ Database Connection/ What Should I Do If My RDS for MariaDB Instance Fails to Be Connected Due to Database Client Problems?
Updated on 2025-06-24 GMT+08:00

What Should I Do If My RDS for MariaDB Instance Fails to Be Connected Due to Database Client Problems?

Troubleshoot RDS for MariaDB connection failures caused by a client problem by checking the following items:

  1. ECS Security Policy

    In Windows, check whether the RDS for MariaDB instance port is enabled in the Windows security policy. In Linux, run iptables to check whether the RDS for MariaDB instance port is enabled in firewall settings.

  2. Application Configuration

    Check whether the connection address, port parameter configuration, and JDBC connection parameter configuration are correct.

  3. Username or Password

    Check whether the username or password is correct if an error similar to the following occurs during database connection:

    • [Warning] Access denied for user 'username'@'yourIp' (using password: NO)
    • [Warning] Access denied for user 'username'@'yourIp' (using password: YES)

If the problem persists, contact post-sales technical support.