【问题标题】:heroku run rake db:migrate - Authentication errorheroku run rake db:migrate - 身份验证错误
【发布时间】:2015-04-10 08:02:36
【问题描述】:

就像标题一样 - 当我尝试在 Heroku 上运行数据库时,我收到了这个错误。

heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.3332
 !    Authentication error

就是这样。我正在关注这个 (https://devcenter.heroku.com/articles/getting-started-with-ruby#use-a-database) 教程,直到此刻一切顺利。我什至找不到任何类似的话题。

@编辑 我试着关注这个话题:https://github.com/ddollar/heroku-accounts/issues/47
甚至重新创建帐户也无济于事。

【问题讨论】:

标签: ruby-on-rails postgresql authentication heroku


【解决方案1】:

运行以下命令

heroku run rake db:migrate -app APPNAME

如果问题仍然存在 那么可能你没有被授权 那就用这个

heroku login

输入在 heroku 上注册的电子邮件和密码,然后重试。

【讨论】:

    猜你喜欢
    • 2014-07-10
    • 1970-01-01
    • 1970-01-01
    • 2014-03-21
    • 2017-02-17
    • 2017-01-07
    • 2015-02-20
    • 2017-10-04
    相关资源
    最近更新 更多