nosferatu
nosferatu

Reputation: 384

Cannot connect via heroku pg:psql (no response) [Windows]

In GitBash:

$ heroku pg:psql
--> Connecting to postgresql-rectangular-74530

And no response is given... it's just kept there

If I type, for example:

$ heroku pg:psql

That works great. (I've already set my HEROKU_APP enviroment variable, that's why I'm not passing it as a parameter.)

If I only type psql, like this:

$ psql
psql: FATAL:  role "MyPCUsername" does not exist

An error is thrown... I don't if it has something to do.

I'm on Windows 7 64bits. Any suggestion?

Upvotes: 4

Views: 982

Answers (2)

Run heroku pg:psql in windows command prompt, for some reason not all heroku commands work properly in git bash

Upvotes: 3

nosferatu
nosferatu

Reputation: 384

Only "solution" I have is to access with pgAdmin as proposed here

Or install Ubuntu at Virtual Box and accessing via heroku pg:psql. Works like a charm in Linux

Upvotes: 0

Related Questions