1.update mysql.user set authentication_string=password(‘123456’) where user=‘root’ ; 2.flush privileges;