I'm trying to run the heroku pg:pull
command, but I can't seem to get the amazingly cryptic authentication process.
The command I'm running:
> heroku pg:pull app_name::RED localdb
I then get a password prompt, which I can't, for the life of me, figure out. After 2 guesses I get password authentication failed for user "Hanan"
, and that's it.
I tried Heroku's password, my Windows account password, every password I use, but nothing happens. I checked, and "Hanan" is not a role in Postgresql, so trying to change the password through psql doesn't work. I have no problem logging in to Postgresql through other roles, but it's this 'default' log-in process which I can't seem to crack.
Also, since I'm using windows, I'm not sure how to run commands like sudo -u postgres psql
, which I see as a possible solution.
Will appreciate any help regarding this issue, I'm really frustrated by now...
heroku pg:pull
is short and easy, as long as it's not working I'm trying to use the method described in link below to pull db to locally installed postgres, then use taps server to populate my app's db. This worked on my mac-book, but, as you can guess, not on my pc :/ link: stackoverflow.com/questions/5649868/… – hananamar