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再次開始工作?