在我们使用MySQL8.0的,连接数据库会存在一定的问题。 提示:
Public Key Retrieval is not allowed
我们可以在连接数据库的配置文件中加上:
allowPublicKeyRetrieval=true
在我们使用MySQL8.0的,连接数据库会存在一定的问题。 提示:
Public Key Retrieval is not allowed
我们可以在连接数据库的配置文件中加上:
allowPublicKeyRetrieval=true
本文为原创文章,转载请注明出处。
原文链接:https://850406.xyz/post/mysql报错public-key-retrieval-is-not-allowed的解决方法
评论(0)
还没有评论,来抢沙发吧~