message from server: "Host 'XXX' is not allowed to connect to this MySQL server

Access denied for user 'root'@'XXXXX' (using password: YES)

mysql命令不正确造成;

grant all privileges on *.* to 'root'@'%'  identified by '123456'  with grant option;

flush privileges

posted @ 2016-07-20 10:52  深渊中的鱼  阅读(960)  评论(0编辑  收藏  举报