정보/삽질금지
Mac에서 PostgreSQL 설치에서 발생하는 password 문제
dev_edward
2020. 2. 17. 18:13
[튜토리얼] - https://www.postgresqltutorial.com/
Install PostgreSQL
www.postgresqltutorial.com
[설치] - https://www.postgresqltutorial.com/install-postgresql/
Install PostgreSQL
www.postgresqltutorial.com
[연결관련] - https://www.postgresqltutorial.com/connect-to-postgresql-database/
Connect to PostgreSQL Database
www.postgresqltutorial.com
설치 사이트를 통해 설치 시 SQL Shell이 설치가 되는데 실행하면 기본 설정 그대로 이용 시 Enter만 누르면 되는데!
마지막이 password 입력이다.
여기서 무엇을 입력해도 안되어서 2일 동안 삽질 결과..
~/.bash_profile or ~/.bashrc 기타 설정 부분에 PATH를 어떻게 넣고 저렇게 넣고 이런 문구들이 많다....
psql 입력 시 해당 command를 찾지 못한다고 할 때 위에 경로 설정을 해주면 되고,
나와 같은 password 문제가 발생하는 사람은... 정말 쉽게
시스템 환경설정 -> 사용자 및 그룹 -> 잠금 해제 -> PostgreSQL-> 암호 재설정으로 로그인이 가능해진다....
끝