mysql赋权限

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

 

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

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)
原文地址:https://www.cnblogs.com/gym2017/p/7245531.html