Mac Postgres install and command


Server/Ruby on the Rails 2019.03.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

오늘의 블록체인 뉴스

WRITTEN BY
ShakeJ

트랙백  0 , 댓글  0개가 달렸습니다.
secret