- Newest
- Most votes
- Most comments
Was the RDS publicly available?
Just wondering if it’s been compromised. You can reset the master password via the AWS console.
Hello.
Can I check the RDS error logs and general logs?
These logs may contain logs that can help identify the cause.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.MySQL.LogFileSize.html
Also, make sure you are using the correct password.
By the way, are you connecting as the RDS admin user?
If you are using the user you created instead of the RDS admin user, use the command below to check whether external access is allowed in the host column.
select host,user from mysql.user;
In logs repeated error : Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
and the instance is available state
Sounds like you have password auto rotation on.. Turn it off or restart the application :)
I did check the Auto-generate password is not enabled, and I rebooted twice.
Relevant content
- asked a year ago
- asked 10 months ago
- asked 5 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
yes . Its Public
Yes, I reset the password and am now able to connect with DB. Thank you. Can you explain why the error came
I am going to assume here that the database may have been compromised and someone logged in externally and changed the password. Like I say, I am only assuming here.
Alternatively your allowing AWS Secret Manager to Manage the Admin password and it was auto rotated. You need to check if that is enabled