mysql8.0版authentication plugin 'caching_sha2_password'
mysql8.0及以上版本连接数据库报authentication plugin 'caching_sha2_password'异常,原因:8.0版本改变了认证方式,将认证方式改为以前
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
好记性不如烂笔头
mysql8.0及以上版本连接数据库报authentication plugin 'caching_sha2_password'异常,原因:8.0版本改变了认证方式,将认证方式改为以前
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';