Error No. 1130 Host 'x.x.x.x' is not allowed to connect to this MySQL server
上一篇 /
下一篇 2010-11-05 11:24:16
/ 个人分类:数据库
出现情况: 使用mysql的客户端Mysql Control Center连接到mysql的服务端时,出现如下错误:
Error No. 1130
Host '192.168.0.14' is not allowed to connect to this MySQL server
原因:
这是由于mysql服务端root用户所对应的客户端权限设置问题。默认所对应的客户端地址只有localhost(也就是服务端的机器),所以要增加相应的地址。此处,我们增加任何地址都可以访问mysql服务端的root用户。
解决办法:
#mysql
mysql>grant all privileges on *.* to 'root'@'%' identified by 'time123';
mysql>flush privileges;
mysql>exit
收藏
举报
TAG: