- 이 오류가 나는 원인은 무엇인가? - MySQL 8.x + cachingsha2password 인증방식에서 나오는 오류 - Public Key Retrieval is not allowed - The public key is not available Client side - 오류의 진짜 원인 - MySQL 8의 기본 인증 방식 : cachingsha2pa...
이 오류가 나는 원인은 무엇인가?
caching_sha2_password 인증방식에서 나오는 오류
Public Key Retrieval is not allowedThe public key is not available Client side오류의 진짜 원인
caching_sha2_password
mysql_native_password에서 caching_sha2_password로 변경됨"Public Key Retrieval is not allowed" -> 클라이언트가 서버에서 공개키를 가져오려고 했는데,
allowPublicKeyRetrieval옵션이 false라서 막혔다는 뜻
언제 특히 잘 발생할까?
allowPublicKeyRetrieval=true 안 넣었거나caching_sha2_password로 생성된 경우mysql_native_password로 생성되어 있기 때문