[英]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. 我创建了一个
MYSQL Amazon RDS
实例,并尝试从Windows机器通过MYSQL Workbench
访问它。
But I'm getting an 10060
error whereas the Amazon RDS
is publicly accessible. 但我收到
10060
错误,而Amazon RDS
可以公开访问。
I read some documentation on amazon forums, but I'm unable to understand how to set up VPC
. 我在亚马逊论坛上阅读了一些文档,但我无法理解如何设置
VPC
。
Any help will be appreciated. 任何帮助将不胜感激。 thanks.
谢谢。
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. 对于我们创建的每个RDS数据库实例,都有入站和出站连接安全组。
In AWS RDS console, under 'Databases', click on the 'DB Identifier' of your RDS instance. 在AWS RDS控制台的“数据库”下,单击RDS实例的“数据库标识符”。 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: 您可以在“源”列下找到3个选项:
1st: add inbound rule. 1st:添加入站规则。 -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
-rds console - 实例 - 详细信息>安全组(单击链接) - EC2管理控制台 - 页面底部选项卡“入站” - 编辑>添加规则选择类型:MYSQL / Aurora,来源:My ip -save
2nd: if problem remainded try make sign out/sign in. It helped me two times contract. 第二:如果问题仍然存在,请尝试登出/登录。它帮了我两次合同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.