1. 打开 MySQL 8.0 Command Line Client
2. 输入 root密码进入
3. use mysql;
4. select User,authentication_string,Host from user;
5. update user set host='%' where user='root';
6. 重启 mysql服务
1. 打开 MySQL 8.0 Command Line Client
2. 输入 root密码进入
3. use mysql;
4. select User,authentication_string,Host from user;
5. update user set host='%' where user='root';
6. 重启 mysql服务
507

被折叠的 条评论
为什么被折叠?