1、set password 'root'@'localhost'=password("root");2、update user set password=password("root") where user='root'