两步: 把mysql数据库里user表里的root用户的 host字段改成%:update user set host = \'%\' where user =\'root\'; 刷新:flush privileges; 相关文章: 2022-12-23 2022-12-23 2021-09-26 2021-10-17 2021-04-05 2021-10-04