遇到了与这里提到的类似的问题
Postgres could not connect to server
我正在尝试运行rake : 4.1.4项目。我试过了上一篇文章中提到的每一件事--任何其他建议都是欢迎的。
此外,在重新安装postgres之后,我运行了命令brew info postgresql并获得了这个Conflicts with: postgres-xc (虽然我不确定这是否相关)。我在运行postgres 9.3.4
任何帮助都将不胜感激.
谢谢!
更新:这是确切的错误:
could not connect to server: Socket operation on non-socket Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
到目前为止我尝试过的事情:
brew uninstall postgresql
brew update
brew upgrade
brew install postgresql
后面跟着下面的命令列表,http://www.postgresql.org/docs/9.3/static/server-start.html
最后,使用午餐店启动postgres http://www.moncefbelyamani.com/how-to-install-postgresql-on-a-mac-with-homebrew-and-lunchy/
发布于 2014-07-17 14:35:57
最后,使用午餐店启动postgres http://www.moncefbelyamani.com/how-to-install-postgresql-on-a-mac-with-homebrew-and-lunchy/
谢谢
https://stackoverflow.com/questions/24795730
复制相似问题