[스프링부트] FATAL: role ""hj"" does not exist

뿌이·2023년 8월 21일
0

오류해결

목록 보기
46/53

application.properties

spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.username=hj
spring.datasource.password=비번

여기에 username과 password를
이렇게 적어야하는데 나는 "hj" "비번" 이렇게 적어서 해당 오류가 났었음 ;

그리고 이후엔

FATAL: database "auction" does not exist

이런 오류도 만났는데 이건 내 프로젝트 이름이 auction이라서 datagrip에 auction이라는 이름으로 생성해두었는데
로컬에는 localhost:5432/postgres여기에 들어있는데
내가 localhost:5432/auction 을 찾게해놔서 그런거였따..
후,,, 명심또 명심,, 정말 간단한거지만 오히려 간단한거에서 시간을 많이 빼앗긴다

profile
기록이 쌓이면 지식이 된다.

0개의 댓글