mysql8.0 부터 기본적으로는 공개키를 허용하지 않기에 발생하는 오류
아래와 같이 하면 해결됨
jdbc:mysql://[주소]:[포트]/[DB]?useSSL=false&allowPublicKeyRetrieval=true
ex)
jdbc:mysql://localhost:3306/test_db?useSSL=false&allowPublicKeyRetrieval=true
mysql8.0 부터 기본적으로는 공개키를 허용하지 않기에 발생하는 오류
아래와 같이 하면 해결됨
jdbc:mysql://[주소]:[포트]/[DB]?useSSL=false&allowPublicKeyRetrieval=true
ex)
jdbc:mysql://localhost:3306/test_db?useSSL=false&allowPublicKeyRetrieval=true