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

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

Identify a GaussDB connection failure caused by a client problem from the following aspects:

  1. ECS security policy

    On a Windows server, check whether the GaussDB instance port is enabled in the Windows security policy. On a Linux server, run iptables to check whether the instance port is enabled in firewall settings.

  2. Incorrect application configuration

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

  3. Incorrect username or password

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

    gsql: ERROR: dn_6001_6002_6003: Invalid username/password,login denied.

If the problem persists, contact technical support.

Database Connections FAQs

more