heroku db:pull not working

荒凉一梦 提交于 2019-11-30 14:59:17

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.

Your connection string is wrong. Try:

heroku db:pull postgres://root:@localhost/db_name

Started working fine once I upgraded the "pg" gem from version "0.11.0" to "0.12.2".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!