문제

I'm trying to upload a database to my heroku app, I'm using

$ PGPASSWORD=mypassword pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb > mydb.dump

But, to do it, I have to replace localhost with my heroku app host. How do I know what my host is?

Sorry for asking such a simple question, but I'm starting with heroku and there're still a lot I have to learn

도움이 되었습니까?

해결책

You need to have postgresql installed and running

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top