mysql报如下错误,截取部分,
message from server: "host '****' is not allowed to connect to this mysql server
1:在登录mysql服务器
2:执行:grant all privileges on *.* to 'root'@'%' with grant option //赋予任何主机访问数据的权限
3:flush privileges //修改生效
这样就可以在其它任何的主机上以root身份登录啦!
您可能感兴趣的文章:
如您对本文有疑问或者有任何想说的,请 点击进行留言回复,万千网友为您解惑!
网友评论