Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 10060 while trying to connect an amazon mysql rds

I created a MYSQL Amazon RDS instance and tried accessing it to through MYSQL Workbench from a windows machine.
But I'm getting an 10060 error whereas the Amazon RDS is publicly accessible.
I read some documentation on amazon forums, but I'm unable to understand how to set up VPC.
Any help will be appreciated. thanks.

like image 231
py_ios_dev Avatar asked Nov 28 '22 03:11

py_ios_dev


1 Answers

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:

  • Custom
  • Anywhere (Allows connections from any IP. Not recommended for production.)
  • My IP (Automatically detects your machine's IP)
like image 153
Alan Quintero Avatar answered Dec 10 '22 03:12

Alan Quintero