inflearn logo
Course

Course

Instructor

angks20263's Posts

angks20263 angks20263

@angks20263

Reviews Written
-
Average Rating
-

Posts 1

Q&A

docker에서 postgres를 사용할 때, role 에러.

맥북 사용자인데 docker 실행 후 error: could not connect to server: FATAL: role "postgres" does not exist 에러가 계속 발생하더라구요. PostgreSQL 버전은 12.0 이었구요. 저같은 경우 기선님하고 같은 버전으로 사용하니 해결되었습니다. docker run -p 5432:5432 -e POSTGRES_PASSWORD=pass -e POSTGRES_USER=keesun -e POSTGRES_DB=springboot --name postgres_boot -d postgres:9.6.2

Likes
13
Comments
6
Viewcount
7861