进入到mysql;
alter user 'root'@'%' identified with mysql_native_password by '123456'; FLUSH PRIVILEGES;