# 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';

arrow
arrow
    全站熱搜

    痞客興 發表在 痞客邦 留言(0) 人氣()