[error] Access denied for user '계정'@'localhost' (using password: YES)

moo·2024년 1월 22일
0

디비 연결을 하려고 계정 정보를 입력했는데

Access denied for user '계정'@'localhost' (using password: YES)

에러가 발생했다.

원인

spring.datasource.username=root 에 root뒤에 ' '공백이 있어서 발생한 에러였다...

해결

application.properties 에 해당 부분을 수정해주었더니 해결되었다.

profile
front developer

0개의 댓글