进入MySQL Workbench 执行以下语句: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';