mysql -u root -p
select User,Host from mysql.user;
update mysql.user set Host = '192.168.100.1' where User = 'open' and host = '192.168.1.1';
flush privileges;
mysql更改用户权限允许IP访问centos
最新推荐文章于 2024-05-22 16:23:27 发布
mysql -u root -p
select User,Host from mysql.user;
update mysql.user set Host = '192.168.100.1' where User = 'open' and host = '192.168.1.1';
flush privileges;