1

我已经运行了以下命令:

git remote add mdd2 git@heroku.com:dmstaffing.git
git push mdd2 master

但是当我现在尝试运行时

heroku run rake db:migrate --app mdd2

我明白了

rake aborted!
could not connect to server: Connection refused
        Is the server running on host "ec2-184-73-250-226.compute-1.amazonaws.com" and accepting
        TCP/IP connections on port 5632?

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

我还看到:

g$ heroku open --app mdd2
Opening mdd2... done
durrantm.../mdd$ libprotobuf ERROR third_party/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "in_memory_url_index.InMemoryURLIndexCacheItem" because it is missing required fields: (cannot determine missing fields for lite message)
^C
durrantm.../mdd$ 

无法连接到服务器:连接被拒绝服务器是否在主机“ec2-184-73-250-226.compute-1.amazonaws.com”上运行并接受端口 5632 上的 TCP/IP 连接?

4

1 回答 1

1

你有数据库插件吗? https://addons.heroku.com/

于 2013-01-04T23:26:15.913 回答