# mysql -uroot -p
use mysql;
insert into user(Host,User,Password) values('192.168.10.%','repluser',password('replpassword'));
或
CREATE USER 'repluser'@'192.168.10.%' IDENTIFIED BY 'replpassword';
grant all privileges on *.* to 'repluser'@'192.168.10.%' identified by 'replpassword';
全站熱搜
留言列表