Linux服务器修改root密码

 update mysql.user set authentication_string=password('ROOT') where user='root' and host='%';


flush privileges;

mysql库:user

end