오랜만에 MySQL을 설치하여 접속하고자 하였는데 에러가 발생했다. MySQL의 8.x 버전 이후부터 발생하는 문제라고 한다.
Driver properties 클릭한다. allowPublicKeyRetrieval의 값을 False -> True 로 수정한다.
Driver properties
allowPublicKeyRetrieval
False -> True
데이터베이스에 제대로 접속 성공한다.
참고: https://computer-science-student.tistory.com/719