在mysql的mysql数据库下:
select user,host from user;(查看,没有本机的访问权限) grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密码";(xx为本机ip) flush privileges; select user,host from user;(添加成功?)
mysql无法远程连接
原文:https://www.cnblogs.com/hujingnb/p/10246208.html