0
我安装了Postgres 9.4。我最近通过企业方法安装了9.6,但最终卸载它,因为我认为它造成了问题。在mac OSX上访问psql的问题
现在我正在尝试使用heroku pg:push但我正在接收错误。当我试图解决它时,我意识到我甚至无法通过命令行访问psql。我得到的错误是:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
当我运行$其中psql的输出/Library/PostgreSQL/9.4/bin/psql这是我的安装位置。我该如何解决这个问题,heroku pg:push再次开始工作?