权限问题,授权 给 root 所有sql 权限
通过cmd进入D:\mysql>cd mysql-5.7.22-winx64\bin
然后登陆mysql -u root -p
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)