mysql8 :Public Key Retrieval is not allowed
MySQL8报错:Public Key Retrieval is not allowed
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
或者:
在配置jdbc数据源的时候直接将属性allowPublicKeyRetrieval设置为true即可
MySQL8报错:Public Key Retrieval is not allowed
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
或者:
在配置jdbc数据源的时候直接将属性allowPublicKeyRetrieval设置为true即可