Connection of glue with rds database isn't working

0

I am trying to connect AWS glue crawler with a postgres db on RDS. Both the crawler and DB are in the same region. steps followed:

  1. created a connection with jdbc url username and password(credentials are correct and working in other applications)
  2. in the VPC I created an endpoint within a particular subnet.
  3. created a NAT gateway
  4. edited the route tables to target the NAT gateway
  5. in the security group of the rds db added self-referencing inbound rule for all TCP ports.
  6. added the security group in the glue connection Now when I test the connection i get Failed to test connection flip_rds-23 due to FAILED status. on checking the logs i get 2024-04-24T16:00:17.670+05:30 ERROR StatusLogger Unrecognized format specifier [d] 2024-04-24T16:00:17.671+05:30 ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern. what am i missing here?
Ashish
已提問 1 個月前檢視次數 123 次
1 個回答
1
已接受的答案

The problem is not network related.

It's probably due to AWS GLUE JDBC driver that doesn't support the scram-sha-256 encryption type which is the default password starting from Postgres 14.

Please follow the guide here:

https://repost.aws/questions/QU5ZDUGnvnREWUT0CA-a6rSw/aws-glue-connects-to-rds-postgresql#AN3H4Bw4O9R4iNcfPTMxycfQ

profile pictureAWS
專家
已回答 1 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南