'I can't access AWS RDS MySQL database via Putty

I created a MySQL database on AWS RDS and set up everything by referring to this link: How can access AWS RDS by CLI / PUTTY?

But I couldn't access that database via Putty. It returns an error even though I tried several times.

This is the screenshot of my Putty:

enter image description here

And this is the MySQL database I've created and setup:

enter image description here



Solution 1:[1]

Looks like connection issue.

Check Security group(s) attached to your RDS instance. One of the Security Groups should allow access on 3306/tcp port from one of:

  • Security Group of your EC2 instance
  • IP address of your EC2 instance
  • IP address pool of your EC2 instance subnet
  • IP address pool of your VPC

Verify if any of Security Groups attached to your RDS instance allows outgoing traffic to one of:

  • Security Group of your EC2 instance
  • IP address of your EC2 instance
  • IP address pool of your EC2 instance subnet
  • IP address pool of your VPC
  • 0.0.0.0/0

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tomasz Bre?