现在我用mysql -u root -p登录后,执行下面语句:
grant all on *.* to test@'%' identified by 'test';
再刷新权限表:
flush privileges;
然后从客户端登陆
D:\mysql5\bin>mysql -h 192.9.100.50 -u root -p
Enter password: ********
ERROR 1045 (28000): Access denied for user 'root'@'yww' (using password: YES)还是不行啊,ERROR 1130 (00000)和ERROR 1045 (28000):是怎么回事啊,有没有办法解决呢?哪里可以看到错误的解决方案?

解决方案 »

  1.   

    我也不知道,你可以下载个mysql-Administrator来用用看。
      

  2.   

    这个问题是你的用户没有 username@% 这个类型的用户。
    加上一个就OK了。
    方法:
    GRANT ALL ON *.*
    TO 'root'@'%'
    IDENTIFIED BY "newpassword"
      

  3.   

    grant all on *.* to test@'%' identified by 'test';
    再刷新权限表:
    flush privileges;
      

  4.   

    mysql>grant all on *.* to root@'%' identified by 'yourpassword';
    然后刷新权限
    flush privileges;
    当然,也可以楼主在进入MYSQL的状态下手工INSERT用户信息到 MYSQL\HOST 和MYSQL\USER表里面,记得也要刷新权限哦。
      

  5.   

    增加root用户在远程机器上登录的权限, 
    同上