AWS Glue giving an error: Login failed for user ''

0
已提问 3 个月前106 查看次数
1 回答
0

It is recommended to try and incorporate Secrets Manager in Glue connection properties whenever possible this will help from a security of the credentials and will in some cases simplify the setup of the credentials to be used in the Connection setup.

For the issue you are facing, it looks like the connection is not setup correctly. Typically we don't use user it is username and there is typically another username like admin instead of using default database usernames like sa. Confirm that the username is correct. This is if it is a RDS database. If you did setup SA as the username, try setting up a different username and test with that instead.

Based on the error it looks like you port and URL are correct. Connection type is not in there I assume it is JDBC as well.

profile pictureAWS
专家
Elvis_P
已回答 3 个月前
profile picture
专家
已审核 1 个月前
  • Hi Elvis, if I put the user/password directly in JDBC URL, it works. But when I put the parameters in SM, this error happens again. So I think Glue job didn't put the parameters in SM to the JDBC URL correctly. And I don't know why it happens.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则