목록postgre 유저 권한확인 (1)
BIBI BLOG
PostgreSQL homebrew 설치방법 및 비밀번호 변경
설치 명령어 brew install postgresql 버전확인 postgres --version postgre 실행/종료 명령어 # postgresql 서비스 실행 명령어 brew services start postgresql # postgresql 서비스 종료 명령어 brew services stop postgresql # postgresql 콘솔 접속 명령어 psql postgres # postgresql 콘솔 종료 명령어 \q PostgreSQL 유저 superuser 권한, 롤 부여 psql 접속 후 유저 권한(롤) 확인 \du 비밀번호 번경 ALTER USER admin PASSWORD 'mynewpassword';
IT/DB
2023. 11. 4. 17:31