use mysql; update user set authentication_string='' where user='root' ALTER user 'root'@'localhost' IDENTIFIED BY '新密码'