Skip to content

Instantly share code, notes, and snippets.

@kelvinst
Created September 17, 2015 17:13
Show Gist options
  • Save kelvinst/077fe63fdd6e3bd4e5ee to your computer and use it in GitHub Desktop.
Save kelvinst/077fe63fdd6e3bd4e5ee to your computer and use it in GitHub Desktop.
My FAQ

Postgres

PG::ConnectionBad

Error message:

PG::ConnectionBad: no such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Solution:

rm /usr/local/var/postgres/postmaster.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment