每当我尝试将本地MySQL数据库推送到Amazon RDS时,就会出现503应用程序错误。
我正在使用taps 0.3.23版本。
虽然错误消息与此处报告的类似:Heroku帮助Amazon RDS Rails推送数据库错误,但我的问题与Amazon的安全组无关,因为这已经配置好了。
还有其他人遇到这个问题吗?
bundle exec heroku db:push
...
Sending schema
Schema: 40% |================ | ETA: 00:00:38
Saving session to push_201106170529.dat..
!!! Caught Server Exception
HTTP CODE: 503
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
html, body, iframe { margin: 0; padding: 0; height: 100%; }
iframe { display: block; width: 100%; border: none; }
</style>
<title>Application Error</title></head>
</head>
<body>
<iframe src="https://s3.amazonaws.com/heroku_pages/error.html">
<p>Application Error</p>
</iframe>
</body>
</html>
我正在使用taps 0.3.23版本。
虽然错误消息与此处报告的类似:Heroku帮助Amazon RDS Rails推送数据库错误,但我的问题与Amazon的安全组无关,因为这已经配置好了。
还有其他人遇到这个问题吗?
mysqldump -u root <development_database> | mysql -u <username> -p<secretpassword> --host <rds_url> -C <rds_databasename>
- Bastien