PostgreSQL2 Ubuntu 20.04 로그인 문제 FATAL: password authentication failed for user "postgres" $sudo apt install postgresql-12 로그인 안됨 $sudo -u postgres psql #체크1 $sudo -u postgres psql template1 #체크2나의 경우는 3번째 경우 /etc/postgresql/12/main/pg_hba.conf 89: local all postgres ident ident 가 아니라 peer 일 경우!!! indent 또는 trust로 바꾼 후 다시 md5로 변경 $sudo service postgresql restart $sudo -u postgres psql psql#ALTER USER '유저네임:postgres' PASSWORD '새비번';89: local all postgresql md5 로 다시 변경 이.. 2020. 12. 8. postgresql backup & restore 옵션 # Create DB option Encoding: UTF8 Template: template0 Collation: C Character type: C # Backup option # Restore option DB -> Schemas -> public 우클릭-> Restore 2020. 7. 11. 이전 1 다음