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