进入 mysql ;
use mysql;
然后 执行
GRANT ALL PRIVILEGES ON *.* TO root@"你.的.端.口" IDENTIFIED BY "你的密码" WITH GRANT OPTION;
FLUSH PRIVILEGES;
然后成功
进入 mysql ;
use mysql;
然后 执行
GRANT ALL PRIVILEGES ON *.* TO root@"你.的.端.口" IDENTIFIED BY "你的密码" WITH GRANT OPTION;
FLUSH PRIVILEGES;
然后成功