【发布时间】:2018-02-26 12:47:51
【问题描述】:
我在 ec2 中部署了我的sails 应用程序,并且我在 rds 中有 mysql 数据库。
当我在本地的 rds 中使用 mysql 时,它工作得非常好。但是当我从 ec2 将 myswl 连接到 rds 时,它给了我这个错误:
error: A hook (`orm`) failed to load!
error: Error (E_UNKNOWN) :: Encountered an unexpected error
: Could not connect to MySQL:
Error: Handshake inactivity timeout
请帮我解决这个问题。我应该将我的 ec2 实例配置为连接到 rds 吗?
【问题讨论】:
标签: mysql amazon-web-services amazon-ec2 sails.js