This article covers methods to resolve AWS MySQL error 10060. This error is a result of the inbound connection rule set on your DB instance.
For each RDS database instance we create, there are Inbound & Outbound connection-security groups.
In AWS RDS console, under 'Databases', click on the 'DB Identifier' of your RDS instance. Then in the 'Security group rules' section, click on 'Inbound' type security group and edit the inbound rule to allow appropriate inbound connections.
You get 3 options here, under 'source' column:
- Anywhere (Allows connections from any IP. Not recommended for production.).
- My IP (Automatically detects your machine's IP).