Last active
August 29, 2015 13:56
-
-
Save joshuakfarrar/8847486 to your computer and use it in GitHub Desktop.
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
zergling:rails-haiti-map zipp$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
server starting | |
# check my app, 'could not connect to server: Connection refused' | |
# is pg running? px aux | grep pg says no | |
zergling:rails-haiti-map zipp$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start --log=derp.txt | |
server starting | |
zergling:rails-haiti-map zipp$ cat derp.txt | |
FATAL: database files are incompatible with server | |
DETAIL: The data directory was initialized by PostgreSQL version 9.2, which is not compatible with this version 9.3.2. | |
# had the same problem a week ago http://stackoverflow.com/questions/20754669/how-to-fix-postgres-after-updating-upgrading-brew/21461148#21461148 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment