怎样做淘宝推广网站找别人做网站怎么防止后门
问题描述

问题分析
因为MySQL新版默认使用caching_sha2_password作为身份验证的插件,而旧版本使用的是mysql_native_password。当出现plugin caching_sha2_password could not be loaded报错,我们更换为旧版本
如何解决
先使用cmd命令登录MySQL,出现mysql>
![]()
use mysql;
![]()
修改root用户的身份验证插件
修改本地连接:
alter user root@localhost identified with mysql_native_password by '123456';
修改远程连接:
alter user root@'%' identified with mysql_native_password by '123456';
最后:

