heroku db:拉怪回应

时间:2013-01-21 13:00:04

标签: ruby-on-rails database heroku heroku-toolbelt

我跑

$ heroku db:pull

它说

Loaded Taps v0.3.24
Auto-detected local database: mysql2://root:mypassword@127.0.0.1/app?encoding=utf8
Warning: Data in the database 'mysql2://root:mypassword@127.0.0.1/app?encoding=utf8' will be overwritten and will not be recoverable.

 !    WARNING: Destructive Action
 !    This command will affect the app: heroku-app-9999
 !    To proceed, type "heroku-app-9999" or re-run this command with --return heroku-app-9999

所以我跑

$ cryptic-harbor-6329

然后我得到了这个回复:

!    <!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="//s3.amazonaws.com/heroku_pages/error.html">
 !            <p>Application Error</p>
 !          </iframe>
 !        </body>
 !        </html>

我已经多次使用不同的应用程序拉动并推送到heroku。我从来没有收到过这个错误。这意味着什么剂量?

1 个答案:

答案 0 :(得分:0)

heroku db:pull mysql://root:mypass@localhost/mydb

试试这个