在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的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;(添加成功?)