728x90
프로젝트를 빌드하니 해당 오류가 발생하였다
Public key retrieval is not allowed
[ 해결 방법 ]
application.properties DB 정보에서 url에 allowPublicKeyRetrieval=true&useSSL=false 를 추가한다
spring.datasource.url = jdbc:mysql://localhost:8080/DB명?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&serverTimezone=Asia/Seoul
728x90
'IT > error' 카테고리의 다른 글
Swagger 적용 후, 화이트라벨 오류 ( Springboot 3.x 이슈 ) (1) | 2023.12.21 |
---|---|
MyBatis 오류: Invalid bound statement (not found), properties 경로 오류 (1) | 2023.11.22 |
Spring Boot 3.x 실행이 안될 경우 (0) | 2023.11.17 |
[Spring Boot] Driver net.sf.log4jdbc.sql.jdbcapi.DriverSpy claims to not accept jdbcUrl (0) | 2023.10.24 |