简体   繁体   English

连接到 Amazon RDS 实例的握手不活动超时

[英]Handshake inactivity timeout coneccting to Amazon RDS Instance

尝试连接到新创建的 Amazon RDS MySql 数据库实例时,我收到错误handshake inactivity timeout

Make sure that the security group that you have initialized with your RDS instance is correct.确保您使用 RDS 实例初始化的安全组是正确的。

By default, a default security group is selected when creating a new RDS instance.默认情况下,新建 RDS 实例时会选择默认安全组。 If your RDS instance is behind a firewall or other connection-limiting restriction such as behind a VPN then you won't be able to reach the RDS instance without the right security group.如果您的 RDS 实例位于防火墙或其他连接限制限制(例如 VPN)之后,那么如果没有正确的安全组,您将无法访问 RDS 实例。

The solution here is to assign the security group that allows incoming connections from your source IP address on the port designated when you created the RDS instance.这里的解决方案是在创建 RDS 实例时指定的端口上分配允许来自源 IP 地址的传入连接的安全组。 The default port for MySql on RDS and MySql in general is 3306. RDS 和 MySql 上的 MySql 的默认端口一般是 3306。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 TypeOrm 和 AWS RDS Aurora MySQL 实例的“握手不活动超时” - 'Handshake inactivity timeout' using TypeOrm and AWS RDS Aurora MySQL instance 从ec2中的sails到rds中的MySQL的连接给出握手不活动超时错误 - Connection from sails in ec2 to MySQL in rds giving handshake inactivity timeout error 连接节点v5.10.1时握手不活动超时错误。 到aws mysql RDS - Handshake inactivity timeout error when connecting node v5.10.1. to aws mysql RDS Node.js AWS Lambda 使用 mysql 连接到 RDS - 错误:握手不活动超时 - Node js AWS Lambda using mysql connecting to RDS - Error: Handshake inactivity timeout 帆 js 错误:握手不活动超时 - sails js Error: Handshake inactivity timeout 握手不活动超时 - mysql 使用 sqltools - Handshake inactivity timeout - mysql using sqltools Node.js MySQL如何处理超时和握手不活动超时 - Nodejs mysql how to handle timeout and Handshake inactivity timeout 错误:握手不活动超时(MySQL + Node.js) - Error: Handshake inactivity timeout (MySQL + Node.js) 握手不活动超时:nodejs 6.10.0 mysql pool.queryAsync - Handshake inactivity timeout: nodejs 6.10.0 mysql pool.queryAsync 错误:Node.js MYSQL 模块中的握手不活动超时 - Error: Handshake inactivity timeout in Node.js MYSQL module
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM