Last active
June 5, 2018 10:39
-
-
Save kapillamba4/8ddabce45202a451771a61229e65024a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| sudo pacman -S postgresql | |
| initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data' | |
| sudo systemctl start postgresql.service | |
| sudo -u postgres -i | |
| createuser --interactive | |
| root | |
| y | |
| createdb myDatabaseName | |
| psql -d myDatabaseName | |
| postgres://root:root@localhost:5432/pin_me_db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment