Connect Amazon RDS with Heroku?

岁酱吖の 提交于 2019-12-11 12:45:21

问题


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.


回答1:


I Found solution myself, you just have to add inbound IP as 0.0.0.0/0 in security group for RDS to available it publicly.



来源:https://stackoverflow.com/questions/37408887/connect-amazon-rds-with-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!