Hi, Can you please provide some additional info about your network configuration?
It sounds like you are able to login to an EC2 instance from your local machine over SSH (using Putty) and from there you can connect to RDS, but when you try to connect directly to your RDS instance from your local machine you get that error message.
Is your RDS instance in a public subnet with port 3306 open to your local network?
Please have a look at this doc which covers common scenarios for connecting to a database in a VPC.
- asked 6 months ago
- Why am I getting an Access Denied error when I try to connect to Amazon RDS for MySQL using IAM authentication?AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago