grant all privileges on *.* to root@"%" identified by "youmysqlpassword" with grant option;
flush privileges;
百分號爲任何主機,需要修改固定主機,只需要修改百分號就可以
grant all privileges on *.* to root@"%" identified by "youmysqlpassword" with grant option;
flush privileges;
百分號爲任何主機,需要修改固定主機,只需要修改百分號就可以