原文在这里
修改root密码的插件方式即可
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';