我在OS X 10.9.4上安裝了postgresql 9.3.5。我還用psql postgres
來創建數據庫等。完全卸載Postgresql 9.3.5
在某些postgresql不再有效的問題中運行。錯誤是:
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"?
所以我brew uninstall postgres
。嘗試重新安裝,但保持相同的錯誤。我查看了/ Library ....並刪除了postgresql文件夾。有沒有辦法徹底刪除這件事?我很想重新安裝這個mac,但這不是學習解決這個問題的很長途徑的方法。
這聽起來更像是你可能沒有配置你的數據庫/設置正確。你是否100%確定你正確地配置了一切? – 2014-10-10 11:14:50
是的。它工作得很好。我只是失去了發生的事情。我只想刪除所有內容並重新開始。 – Sylar 2014-10-10 11:22:23