jdbc8.0 连接 mysql8.0 出现 Public Key Retrieval is not allowed ...

编辑驱动属性,将allowPublicKeyRetrieval改为YES

如图:

jdbc8.0 连接 mysql8.0 出现 Public Key Retrieval is not allowed ..._第1张图片

也可以在连接里添加该属性。

你可能感兴趣的:(jdbc8.0 连接 mysql8.0 出现 Public Key Retrieval is not allowed ...)