命令:mysql -u root -p
命令:use mysql
命令:update user set host='%' where user='root' and host='localhost';
命令:flush privileges;