Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15171768
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: Mysql/postgreSQL

2008-03-20 09:42:43

mysql -h 192.168.11.2 -u root -p
Enter password: ********
ERROR 1130 (00000): Host '192.168.11.2' is not allowed to connect to this MySQL server

解决办法,在192.168.11.2机器上执行
mysql>grant all on *.* to root@'%' identified by 'yourpassword';
mysql>flush privileges; //刷新权限
阅读(695) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~