Last active
October 13, 2015 02:18
-
-
Save finist/4123995 to your computer and use it in GitHub Desktop.
postgres
This file contains 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
export PATH=/usr/local/bin:$PATH | |
Start manually: | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
Stop manually: | |
pg_ctl -D /usr/local/var/postgres stop -s -m fast | |
pg_ctl -D /usr/local/var/postgres status | |
psql -d template1 | |
CREATE USER miriam WITH PASSWORD 'sa'; | |
ALTER USER miriam CREATEUSER CREATEDB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment