[SpringBoot]MySQL 연동시 에러 Public key retrieval is not allowed 해결방법
아래와 같은 오류가 발생했다.
Exception in thread "main"
java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
appilcation.yml 파일에 mysql-url 부분에 추가해주니 해결되었다.
allowPublicKeyRetrieval=true&useSSL=false

'IT > Spring' 카테고리의 다른 글
스프링 프레임워크란 무엇인가? (2) | 2024.09.11 |
---|---|
[SpringBoot]JPA Auditing 사용법(생성일시, 수정일시 자동 반영) (0) | 2024.05.27 |
[SpringBoot] War 파일 빌드 및 생성하기 (0) | 2024.05.05 |
[Spring Boot]@Scheduled를 이용한 스케줄러 구현하기 (0) | 2024.05.04 |