- Newest
- Most votes
- Most comments
I got a little further. Still getting an error.
mysql --ssl-mode=REQUIRED --ssl-ca=rds-combined-ca-bundle.pem -u $DB_USER -h $DB_HOST -p$(aws rds generate-db-auth-token --hostname $DB_HOST --port 3306 --user $DB_USER)
ERROR 2059 (HY000): Authentication plugin 'mysql_clear_password' cannot be loaded: plugin not enabled
I've hit the same issue, returning the same error. Any ideas what I/We are doing wrong?
EDIT: I fixed this.
Add --enable-cleartext-plugin switch, after the ssl-ca switch, (ie, as the third option)and you should be good.
Edited by: JadenIRL on May 30, 2017 8:13 AM
I was experiencing this problem, and the --enable-cleartext-plugin
fixed it. It seems odd that everyone will have that problem and it isn't in the documentation.
Unfortunately having got past that, I am now just getting "Access denied for user 'NAME'@'IP' (using password: YES)
The token generated looks odd, in that it is a full URL. I would have assumed it would just be a token, so is there some other processing I need to do on the token?
NB I am using MySQL rather than Aurora but from docs the process seems similar.
Relevant content
- asked a year ago
- Accepted Answerasked 10 months ago
- asked a year ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago