centos7中Mysql修改密码的几种方法修改密码root修改自己密码方法一:mysqladmin -uroot -p'123' password 'new_password' //123为旧密码方法二:在Mysql中update mysql.user set authentication_string=password