mac에 brew install 사용해서 postgresql 설치하기

Posted by MinSik on August 21, 2015

brew를 업데이트 하고 postgres를 install

brew update
brew install postgres

PostgreSQL 서버를 시작

postgres -D /usr/local/var/postgres 


DB를 생성하고 접속

createdb `whoami`
psql