1、给root用户授予所有权限
mysql> grant all privileges on *.* to root@"%" identified by "密码";

2、刷新
mysql> flush privileges;
posted on 2017-01-17 20:04  怀素真  阅读(150)  评论(0编辑  收藏  举报