brunch

postgres 유저 비밀번호 변경

by 홍진우

postgres 설치 후


sudo su - postgres


로 유저 변경 후, psql 명령어를 통해 postgres 콘솔에 진입


alter user postgres with password '1234';


위와 같은 명령어로 비밀번호를 변경한다.

매거진의 이전글postgres 데이터베이스 백업