认证方式的修改:
修改认证方式
认证插件更新
② 认证插件的更新
mysql8.0中默认的身份认证插件是:
caching_sha2_password
替代了之前的: mysql_native_password
查看插件语句:
适配旧的客户端两个方法:
1、通过修改配置文件default-authentication-plugin=mysql_native_password
2、修改mysql.user表
alter user 'xxx'@'%' identified with mysql_native_password by 'xxxxxxxx'