MySql 접속시 "Public Key Retrieval is not allowed" 오류 발생 시
allowPublicKeyRetrieval=true 옵션값을 설정하여 해결한다.
기존 접속 시 옵션
spring.datasource.url=jdbc:mysql://localhost:3306/board?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul
수정 ("&allowPublicKeyRetrieval=true&useSSL=false" 추가)
spring.datasource.url=jdbc:mysql://localhost:3306/board?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&useSSL=false