MySQL8设置root用户远程访问.240103
-
查询当前root状态,默认root的host是localhost
use mysql; select user,host from user;
-
update root的host为%
update user set host = '%' where user ='root';
-
检查客户端windows 的防火墙,关闭防火墙
-
try。
喜欢请赞赏一下啦^_^赞赏后请后台留言您的微信号,相关文章提到的的安装包稍后给到哦

查询当前root状态,默认root的host是localhost
use mysql; select user,host from user;
update root的host为%
update user set host = '%' where user ='root';
检查客户端windows 的防火墙,关闭防火墙
try。