MYSQL拒绝访问报错not allowed to connect
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身份登录啦!
以上是 MYSQL拒绝访问报错not allowed to connect 的全部内容, 来源链接: utcz.com/z/315640.html