mysql从库处理报错You must reset your password using ALTER USER statement before executing this statement
在linux中安装好MySQL并完成初始化配置后,使用默认生成的root用户密码登录MySQL时,可能会出现无法执行任何语句的情况,提示「YoumustresetyourpasswordusingALTERUSERstatementbeforeexecutingthisstatement」。这是因为MySQL5.7版本后,用户表的密码字段由password改为了authentication_str