옛글/Ruby on the Rails
Mac Postgres install and command
ShakeJ
2019. 3. 27. 23:45
반응형
brew install pg
ps auxwww | grep postgres
pg_ctl -D /usr/local/var/postgres status
pg_ctl -D /usr/local/var/postgres start
pg_ctl -D /usr/local/var/postgres stop
OR
brew services start postgresql
brew services stop postgresql
if "Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib" error,
ln -s /usr/local/opt/readline/lib/libreadline.6.dylib /usr/local/opt/readline/lib/libreadline.7.dylib
반응형