mysql赋权限

权限问题,授权 给 root  所有sql 权限

 

用管理员身份(window+x  a)进入到bin:cd c:\\mysql\bin

mysql:》mysql -u root -p

endent password:确定键

mysql> grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)


mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

 

posted @ 2017-07-27 16:24  学无止境、  阅读(116)  评论(0编辑  收藏  举报