无法通过 heroku pg:psql (无响应) [Windows] 进行连接



In GitBash:

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

并且没有给出任何回应...它只是留在那里

例如,如果我输入:

$ heroku pg:psql

这很好用。(我已经设置了我的HEROKU_APP环境变量,这就是为什么我不将其作为参数传递的原因。

如果我只键入 psql,如下所示:

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

抛出错误...如果它有事,我不知道。

我在Windows 7 64位上。 有什么建议吗?

在Windows命令提示符下运行heroku pg:psql,由于某种原因,并非所有heroku命令在git bash中都能正常工作

我唯一的"解决方案"是按照此处的建议使用pgAdmin访问

或者在Virtual Box上安装Ubuntu,并通过heroku pg:psql访问。在 Linux 中像一个魅力一样工作

最新更新