修改表,登录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;
2022-10-26 20:56:49
修改表,登录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;