By default, should never change the postgres user password
See http://serverfault.com/a/325596/61030
To access the database as postgres,
- go into the server
- use
sudo -u postgres psql postgres
By default, should never change the postgres user password
See http://serverfault.com/a/325596/61030
To access the database as postgres,
sudo -u postgres psql postgres| # "local" is for Unix domain socket connections only | |
| local all postgres peer | |
| local all all peer | |
| # IPv4 local connections: | |
| host all all 127.0.0.1/32 md5 | |
| # IPv6 local connections: | |
| host all all ::1/128 ident |