1.update MySQL.user set authentication_string=password('root') where user='root'; 2.flush privileges;