heroku pull postgresql on windows

前端 未结 2 1912
孤独总比滥情好
孤独总比滥情好 2021-01-19 17:43

I\'m trying to pull a heroku database to my local Windows computer by using

heroku pg:pull HEROKU_POSTGRESQL_DATABASE mydatabase --app myapp
<
2条回答
  •  天命终不由人
    2021-01-19 18:31

    I realize this is from months ago, but I'll answer in hopes of helping somebody else. You need to set your path variables. My Computer > Advanced system settings; Click on "Environment variables" and then look at "System variables". Scroll down to "Path" or "PATH", edit it, and go to the very end of the text box. Add ;C:\Program Files (x86)\PostgreSQL\9.3\bin and ;C:\Program Files (x86)\PostgreSQL\9.3\lib (or whatever your equivalent paths are for bin and lib). Restart your command prompt and it should work. :)

提交回复
热议问题