Heroku帮助Amazon RDS rails推送数据库错误

尝试将我的数据库推送到Amazon RDS时出现503错误

Home@PC /c/rails/konkurranceportalen (master) $ heroku db:push Loaded Taps v0.3.19 Auto-detected local database: mysql://root@127.0.0.1/konkurranceportalen?encodin g=utf8 Warning: Data in the app 'vinderhimlen' will be overwritten and will not be reco verable. ! WARNING: Potentially Destructive Action ! This command will affect the app: vinderhimlen ! To proceed, type "vinderhimlen" or re-run this command with --confirm vind erhimlen > vinderhimlen Sending schema Schema: 100% |==========================================| Time: 00:01:07 Sending indexes admins: 100% |==========================================| Time: 00:00:01 schema_migrat: 100% |==========================================| Time: 00:00:01 slugs: 100% |==========================================| Time: 00:00:02 Sending data 7 tables, 138 records admins: 100% |==========================================| Time: 00:00:00 kategoris: 0% | | ETA: --:--:-- Saving session to push_201103182120.dat.. !!! Caught Server Exception HTTP CODE: 503      html, body, iframe { margin: 0; padding: 0; height: 100%; } iframe { display: block; width: 100%; border: none; }  Application Error    

Application Error

Home@PC /c/rails/konkurranceportalen (master) $

我的Heroku登录http://pastie.org/1687466

问题是Amazon RDS防火墙阻止了Heroku。 在Amazon AWS> Amazon RDS中,我确实进入了安全组并添加了EC2安全组。

具有以下细节:

 Security Group: default AWS Account ID: 098166147350