mysql 5.5 无法远程链接  root用户 host已经改为%
仍然还是报host '' is not alloweed to connect to ths MySQL server
求帮助

解决方案 »

  1.   

    本地登录后,贴一下你的内容。select user,host from mysql.user
      

  2.   

    grant all on *.* to root@'%' identified by 'yourpassword';
    是这么设置的吗
      

  3.   

    另外host如果是直接updte的需要flush privileges才能生效
      

  4.   

    Host     User
    %        root
    127.0.0.1 root
    ::1       root
    localhost
      

  5.   


    使用这个的时候也报错
    access denied for user ''@'localhost'<using password :NO>
    而且现在表里  root 的host 是'%'
      

  6.   

    grant all privileges on *.* to 'root'@'%' identified by 'password'