0x01

登陆后使用mysql

use mysql

0x02

更新域属性

update user set host='%' where user ='root';

0x03

应用当前表到内存

FLUSH PRIVILEGES;

0x04

执行授权语句

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION;