Macbook を Mountain Lion にアップデートしたところ、postgresql が機能しなくなりました。Rails サーバーを実行すると、次のエラー メッセージが表示されます。
could not connect to server: No such file or directory (PG::Error)
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
-UPDATE- 次のエラー メッセージが表示されるようになりました。
$ rails s
=> Booting Mongrel
=> Rails 3.1.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Started GET "/" for 127.0.0.1 at 2012-07-29 11:54:46 +0200
PGError (could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (fe80::1) and accepting
TCP/IP connections on port 5432?
):