DBeaver Public Key Retrieval is not allowed 에러

두별·2022년 5월 25일
0

TIL

목록 보기
24/46

MYSQL 8.0 이후부터는 allowPublicKeyRetrieval 속성의 값이 true로 설정 되어야만 접속할 수 있다.

  1. Edit Connection > Edit Driver Settigs

  1. Driver properties > User Properties 우클릭 > Add new property
  • allowPublicKeyRetrieval 추가 > 값은 true
  • useSSL 추가 > 값은 false

  1. 접속 URL 설정
  • 접속하는 datasource URL 파라미터 셋팅은 아래와 같이 하면 된다.
jdbc:mysql://localhost:사용하는Port/DB명?useSSL=false&allowPublicKeyRetrieval=true

1개의 댓글

comment-user-thumbnail
2022년 8월 15일

Public Key Retrieval is not allowed 에러 발생시 아래 포스트 참고https://deeplify.dev/database/troubleshoot/public-key-retrieval-is-not-allowed

답글 달기