简体   繁体   English

升级后无法访问AWS RDS实例

[英]Can't Access AWS RDS Instance after Upgrade

Just upgraded my MySQL RDS instance from the free-tier db.t2.micro to an db.r3.large. 刚刚将我的MySQL RDS实例从免费层db.t2.micro升级到db.r3.large。 Same storage, same security groups, same user groups/credentials, same VPC, same endpoint name, same everything. 相同的存储,相同的安全组,相同的用户组/凭据,相同的VPC,相同的端点名称,相同的所有内容。

I was previously able to access this same instance remotely through MySQL workbench before the upgrade, and according to AWS my endpoint location has not changed. 升级之前,我以前能够通过MySQL工作台远程访问同一实例,并且根据AWS,我的端点位置没有更改。

The error message received: 收到错误消息:

Can't connect to MySQL server on 'blahblah.rds.amazonaws.com' (10060) 无法连接到“ blahblah.rds.amazonaws.com”上的MySQL服务器(10060)

I've tried restarting several times. 我尝试重新启动几次。 Ensured by security group allowed inbound TCP access on port 3306 for both 0.0.0.0/0 and ::/0 由安全组确保在端口3306上允许0.0.0.0/0和:: / 0的入站TCP访问

What else could be wrong? 还有什么可能是错的?

You probably need to restart the MySQL workbench, not reboot the RDS. 您可能需要重新启动MySQL工作台,而不是重新启动RDS。

As I described here , the database handles have changed, but the code doesn't notice. 正如我在这里描述的,数据库句柄已经更改,但是代码没有注意到。 So the MySQL workbench is using outdated handles that are being rejected. 因此,MySQL工作台正在使用被拒绝的过时句柄。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM