heroku db:pull not working

前端 未结 3 544
长情又很酷
长情又很酷 2021-01-03 01:05
heroku db:pull postgresql://root:@localhost/db_name

After this command display this message

/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/l

3条回答
  •  囚心锁ツ
    2021-01-03 01:21

    First, you need to fix your connection string: use postgres instead of postgresql.

    You will need to have the pg db adapter installed to use Sequel's postgresql adapter:

    gem install pg
    

    You may also want to make sure your taps, sequel, and heroku gems are up to date:

    gem install heroku taps sequel
    

    Then try your heroku db:pull again. If that doesn't work, post a comment or hop in #heroku on Freenode and we can try to help.

提交回复
热议问题