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

0
posta 3 mesi fa106 visualizzazioni
1 Risposta
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
ESPERTO
Elvis_P
con risposta 3 mesi fa
profile picture
ESPERTO
verificato un mese fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande