一、如果当前root用户authentication_string字段下有内容,先将其设置为空,否则直接进行二步骤。 use mysql; update user set authentication_string='' where user='root' 下面直接演示正确修改root密码的步骤: 二、使用ALTER修改root用户密码,方法为 ALTER user 'roo