打开编辑器,输入以下sql语句 use mysql; select * from user; update user set Host = '%' where Host = 'localhost' and User='root';