简体   繁体   中英

Connect Amazon RDS with Heroku?

I have created my Amazon RDS in Oregon region. I have to configure this with my Heroku App . I am able to access RDS from my local machine. But this not happens with Heroku . I also don't have liberty to create Security Groups there. I am getting error as

ERROR 2003 (HY000): Can't connect to MySQL server on 'RDS hostname' (111)

something . I won't understand that because by my local machine it was resolving host but not from Heroku .

我自己找到了解决方案,您只需在RDS安全组中添加入站IP为0.0.0.0/0即可公开使用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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