Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker 环境mysql 连接 报错 Public Key Retrieval is not allowed #25

Closed
jax777 opened this issue Sep 1, 2020 · 3 comments
Closed

Comments

@jax777
Copy link

jax777 commented Sep 1, 2020

Public Key Retrieval is not allowed

@FKK921
Copy link

FKK921 commented Mar 13, 2022

Me too.

@FKK921
Copy link

FKK921 commented Mar 13, 2022

1、修改pom.xml中mysql版本与实际版本一致。
2、修改application.properties里面jdbc为allowPublicKeyRetrieval=true,再加上characterEncoding=utf8

@JoyChou93
Copy link
Owner

本地测试可修改application.properties里的AllowPublicKeyRetrieval为allowPublicKeyRetrieval。
docker环境我找时间重新发布一下。

JoyChou93 added a commit that referenced this issue Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants