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:

 

评分:0

我来说两句

日历

« 2024-04-28  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 9264
  • 日志数: 22
  • 建立时间: 2010-01-16
  • 更新时间: 2010-11-08

RSS订阅

Open Toolbar