登陆mysql,然后输入

grant all on *.*  to root@'%' identified by 'root';
然后重启mysql即可
posted on 2016-09-22 17:19  vagaab_Q  阅读(423)  评论(0)    收藏  举报