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:
- 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.
- Incorrect application configuration
Check whether the connection address, port parameter configuration, and JDBC connection parameter configuration are correct.
- 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
- Can I Connect to GaussDB over SSL?
- What Should I Do If I Can't Connect to My GaussDB Instance?
- Can an External Server Access GaussDB Instances?
- How Can I Create and Connect to an ECS?
- What Should I Do If an ECS Cannot Connect to a GaussDB Instance Through a Private Network?
- What Should I Do If a Database Client Problem Causes a Connection Failure?
- What Should I Do If a GaussDB Database Problem Causes a Connection Failure?
- How Do My Applications Access a GaussDB Instance in a VPC?
- Do Applications Need to Support Reconnecting to the GaussDB Instance Automatically?
- Why Can't I Ping My EIP After It Is Bound to an Instance?
- Can I Access a GaussDB Instance Over an Intranet Connection Across Regions?
- Will My Access Be Restricted by Bandwidth When I Connect to My GaussDB Instance from an ECS over a Private Network?
- Why Did the New Password Not Take Effect After I Reset the Administrator Password?
- What Should I Do If the ECS and GaussDB Instance Are Deployed in Different VPCs and They Cannot Communicate with Each Other?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore