Created
September 19, 2013 21:41
-
-
Save brianewing/6630248 to your computer and use it in GitHub Desktop.
fix postgres for @tommypalm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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