mysql5.7修改root密码 use mysql; update mysql.user set authentication_string=password('123456') where user='root'; flush privileges;