解决方法:
1. 进入cmd:mysql -uroot -p
2. mysql>grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)
3. mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
1. 进入cmd:mysql -uroot -p
2. mysql>grant all privileges on *.* to root@"%" identified by ".";
Query OK, 0 rows affected (0.00 sec)
3. mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)