Skip to content

Instantly share code, notes, and snippets.

@brianewing
Created September 19, 2013 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianewing/6630248 to your computer and use it in GitHub Desktop.
Save brianewing/6630248 to your computer and use it in GitHub Desktop.
fix postgres for @tommypalm
# stop postgres
pg_ctl -D /usr/local/var/postgres stop &&
# obliterate old postgres data
rm -Rf /usr/local/var/postgres &&
# fresh start..
initdb /usr/local/var/postgres -E utf8 &&
# start postgres
pg_ctl -D /usr/local/var/postgres start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment