Last active
August 29, 2015 14:07
-
-
Save andreydjason/e75587d07a874486d4ea to your computer and use it in GitHub Desktop.
Common Commands
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
sudo -u postgres psql | |
ALTER USER Postgres WITH PASSWORD 'NEW PWD'; | |
psql -h hostname -d databasename -U username -f file.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment