update user set plugin='mysql_native_password' where user='root';
flush privileges;
alter user 'root'@'localhost' identified by '123456';
flush privileges;
update user set plugin='mysql_native_password' where user='root';
flush privileges;
alter user 'root'@'localhost' identified by '123456';
flush privileges;