修改表,登录mysql数据库,切换到mysql数据库,使用sql语句查看"select host,user from user ;"

console:

>use mysql;
mysql>update user set host = '%' where user ='root';
mysql>select host, user from user;
mysql>flush privileges;

posted on 2015-11-30 12:07  七月逆流  阅读(341)  评论(0编辑  收藏  举报