reset postgres password windows
Backup the pg_hba.conf file by copying it.
Edit the pg_dba.conf, change `METHOD` to 'trust'
Restart the PostgreSQL server.
psql -U postgres.
ALTER USER postgres WITH PASSWORD 'new_password';
Restore the pg_dba.conf file.
Restart the PostgreSQL server.\password sdesudo sed -ibak 's/^\([^#]*\)md5/\1trust/g' /opt/bitnami/postgresql/conf/pg_hba.conf
sudo -u postgres pg_ctl reload
Also in C++:
- not a git repository after clone
- github allow large files
- netstat command in linux to check specific port
- vue cli
- install jira
- docker --restart example
- how to start apache/2.4.6 linux
- remove git init
- linux terminal speed test
- what is ssh key in github
- pgadmin install ubuntu
- linux vi
- bash setting home
- choco upgrade all
- list virtualenvs ubuntu
- difference git fetch vs pull
- set global git ignore
- how to kill apache process in linux
- install atom ubuntu terminal
- dyld: lazy symbol binding failed: Symbol not found: _ffi_prep_closure_loc
- reboot ubuntu
- sudo apt install wiresharck ubuntu
- how to run exe file in linux
- for loop in shell script