ERROR PG::ConnectionBad: 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"?
ERRORを解決した方法
brew install postgres
brew install postgis
berw uninstall postgres
berw install postgres
psql -d template1
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme