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?
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ