我在我的电脑上安装Postgresql时遇到了很多麻烦。在Mountain Lion上安装Postgresql与自制软件和导轨
我有一个Rails应用程序,我部署到Heroku,并希望在我的本地机器上使用Postgresql。在我下载Postgres.app之前,却从未真正使用它,最近卸载它认为它可能会导致一些问题。
我安装Postgres的,每次我运行耙分贝:创建:一切,我得到以下错误:
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
我GOOGLE和尝试了一堆东西,但一直没能理解它并认为我最终可能得到一些个人帮助。
运行时,我得到它的psql:
/usr/local/bin/psql
我试图卸载的Postgres,卸载PG和重新安装,但没有已经能够正常工作。
这里有什么见解?谢谢。
那么,你是如何启动Postgres的? –
可能重复? http://stackoverflow.com/questions/13410686/postgres-could-not-connect-to-server – jrwren