在mysql命令行执行:
Grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;
flush privileges;
在mysql命令行执行:
Grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;
flush privileges;