Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1146418
  • 博文数量: 341
  • 博客积分: 12744
  • 博客等级: 上将
  • 技术积分: 4040
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-12 09:34
文章分类
文章存档

2014年(1)

2013年(10)

2012年(17)

2011年(63)

2010年(102)

2009年(107)

2008年(41)

分类: LINUX

2009-09-22 15:13:04

错误为:
ERROR 1130: Host 'xx.xx.xx.xx' is not allowed

解决方法为:
mysql> grant all privileges on *.* to 'yourname'@'xx.xx.xx.xx' identified by 'youpasswd';
mysql> flush privileges;

其中:yourname为你的mysql用户名,xx.xx.xx.xx为你的主机,youpasswd为你的密码
阅读(1444) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~