문제 상황
💡 문제 상황

- DBeaver 에서 MySQL 연결 시도 중 Public Key Retrieval is not allowed 에러 발생
원인 분석
💡 원인 1 : MySQL 8.0 이상 보안 정책
- 보안상의 이유로 MySQL 8.0 이상 부터 기본적으로 MySQL 서버는 클라이언트가 요청하는 공개키에 대해 허용하지 않도록 지원하기 떄문이라고 한다.
해결 방법
💡 해결 방법 : Driver properties -> allowPublicKeyRetrieval -> true로 변경

참고 자료
1) 블로그 : DBeaver(디비버) Public Key Retrieval is not allowed 에러
https://computer-science-student.tistory.com/719
DBeaver(디비버) Public Key Retrieval is not allowed 에러
DBeaver(디비버) Public Key Retrieval is not allowed 에러 디비버에서 MySQL 데이터베이스 접속을 잘하다가 갑자기 Public Key Retrieval is not allowed 에러를 만났다. MySQL의 8.x 버전 이후부터 발생하는 문제라고 한
computer-science-student.tistory.com
2) 블로그 : Public Key Retrieval is not allowed 오류 해결하기
https://wookku.tistory.com/272
[DBeaver] Public Key Retrieval is not allowed 오류 해결하기
안녕하세요. 어느덧 여름이 지나고 이제는 제법 쌀쌀한 날씨가 되어가고 있습니다.낮에는 그럼에도 덥고, 아침과 저녁에는 추운 날씨네요. 저는 살짝 콧물을 훌쩍이며 글을 적고 있습니다.모두
wookku.tistory.com
3) MySQL Docs
https://dev.mysql.com/doc/connector-j/en/connector-j-connp-props-security.html
MySQL :: MySQL Connector/J Developer Guide :: 6.3.5 Security
MySQL Connector/J Developer Guide / ... / Connector/J Reference / Configuration Properties / Security paranoid Take measures to prevent exposure sensitive information in error messages and clear data structures holding sensitive data when p
dev.mysql.com
'Tips ✨' 카테고리의 다른 글
| [DBeaver] Access denied for user 'root@localhost' (using password : YES) (0) | 2026.02.12 |
|---|---|
| [터미널 명령어] HomeBrew 명령어 (0) | 2026.02.10 |
| [MySQL] MySQL 8.0.45-arm 64 켜졌다 꺼졌다 반복 on MacOs (0) | 2026.02.07 |
| 맥북 어플리케이션 별 음량 조절 Background Music (1) | 2024.12.01 |
| 마크다운 문법 (2) | 2024.11.20 |