Skip to content

Error trying to connect Amazon Q for Business to RDS

0

Hi! I',m trying to connect Amazon Q for Business to RDS as a data source but I keep geting this error, the username/password is correct. I have a postgres database.

Error connecting to customer repository: JDBC Connector error code: JDB-5001 Error message: Authentication error. Exception from driver/connector: Please enter correct username/password.

Thanks!

2 Answers
0
  1. Verify Credentials: Double-check the username and password by connecting directly using a PostgreSQL client.
  2. Check Database Permissions: Ensure the user has the necessary permissions to connect and query the database.
  3. RDS Configuration: Confirm that the RDS instance allows inbound connections on port 5432 and that security groups are correctly configured.
  4. VPC Connectivity: Ensure the RDS instance is accessible from QuickSight, considering VPC endpoints, NAT gateways, or subnet accessibility.
  5. SSL/TLS Settings: If SSL is required by RDS, ensure QuickSight is configured to use SSL.
  6. Parameter Group Settings: Verify that the RDS parameter group settings, such as password_encryption, are compatible with QuickSight.
  7. QuickSight Data Source: Ensure all data source fields in QuickSight are correctly filled out, including hostname, port, and database name.
  8. Network ACLs and Firewalls: Confirm there are no network policies blocking the connection between QuickSight and RDS.
  9. Special Characters: Check if the password has special characters and ensure they are correctly interpreted.
  10. Consider Resetting Password: If issues persist, try resetting the RDS user's password.
AWS
EXPERT

answered 2 years ago

0

The authentication error when connecting Amazon Q for Business to your RDS PostgreSQL database suggests a problem with the credentials or connection settings.

Verify that the username and password are correctly entered and match those configured in RDS. Ensure that the RDS instance’s security group allows inbound traffic from Amazon Q for Business, and double-check that the database endpoint and port are correct.

Additionally, confirm that the PostgreSQL user has the necessary permissions and that there are no typos or issues with the credentials being used.

EXPERT

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.