zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Public Key Retrieval is not allowed(不允许公钥检索)【解决办法】

公钥 not is 解决办法 Key 允许 Allowed 检索
2023-09-14 09:14:09 时间

问题报错:使用 MySQL8.0 连接数据库如果报错:Public Key Retrieval is not allowed 

解决办法:在连接数据库的配置文件中加上&allowPublicKeyRetrieval=true语句,如下:

&allowPublicKeyRetrieval=true