当host为多个的时候,其他修改密码经常不能覆盖到全部。 所以最好的办法,直接修改数据库的数据 修改mysql root密码update user set password=password(\'密码\') where user=\'root\';flush privileges; 相关文章: