Reputation: 497
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.
Upvotes: 6
Views: 20277
Reputation: 1
For who had done all of the fix above and still fail to connect, you might want to dive deeper into sub-net's Route table
and Network ACL
Route table
and Network ACL
of your RDS:Route table
and Network ACL
of that subnet (You might have to repeat step for all other subnets)Route table
:
Internet gateway
hereEdit routes
Network ACL
:
Edit inbound rules
and Edit outbound rules
Security groups
Rule number
lower than default denied * ruleUpvotes: 0
Reputation: 541
I missed enabling public accessibility while creating RDS. We can enable it later too in the modify section of RDS. Hope it helps someone.
Upvotes: 11
Reputation: 336
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:
Upvotes: 27
Reputation: 51
1st: add inbound rule. -rds console - instances - details > Security groups(click link) - EC2 Managment Console - at the bottom of the page tab "inbound" - edit > add rule Choose Type: MYSQL/Aurora, Source: My ip -save
2nd: if problem remainded try make sign out/sign in. It helped me two times contract.
Upvotes: 5