GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'huawei' WITH GRANT OPTION;
FLUSH PRIVILEGES;
执行上面的命令后,重启Mysql就行了。~~~
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'huawei' WITH GRANT OPTION;
FLUSH PRIVILEGES;
执行上面的命令后,重启Mysql就行了。~~~