Help Center> GaussDB(for MySQL)> FAQs> Database Connections> What Should I Do If a Database Client Problem Causes a Connection Failure?
Updated on 2023-10-19 GMT+08:00

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

Check the following items to troubleshoot GaussDB(for MySQL) connection failures caused by a client problem:

  1. ECS security policy

    In Windows, check whether the GaussDB(for MySQL) instance port is enabled in the Windows security policy. In Linux, run iptables to check whether the GaussDB(for MySQL) 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 the 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.

Database Connections FAQs

more