Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Terminal

Joy Arulraj edited this page Nov 28, 2015 · 16 revisions

Create Data Directory

cd build   
initdb ./data

Start the Peloton server

pg_ctl -D ./data start

Create a default user

createuser -s -r postgres

Connect to the server

psql postgres
help

Stop the server

pg_ctl -D ./data stop

More info on the terminal

PSQL manual
PSQL common usage

Clone this wiki locally