alter user 'root'@'localhost' identified with mysql_native_password by '****';
flush privileges;
进入权限后是 mysql-> 这样,输入上面的取修改密码
千万别忘了最后面的分号!!!!
;;;