添加slave账户

 

 

 

GRANT ALL PRIVILEGES ON *.* TO jzb@"%" identified by "123qwe";

grant REPLICATION SLAVE ON *.* TO jzb@"%";

flush privileges

 

 

 

/etc/my.cnf中配置日记的级别形式

binlog_format=row

你可能感兴趣的:(添加slave账户)