railsアプリにアクセスした時に以下のエラーが発生しました
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"?
usr/local/var/postgres/postmaster.pidを削除して治ります。
More than 5 years have passed since last update.
railsアプリにアクセスした時に以下のエラーが発生しました
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"?
usr/local/var/postgres/postmaster.pidを削除して治ります。
Register as a new user and use Qiita more conveniently