L009-oldboy-mysql-dba-lesson09
mysql> grant replication salve,replication client on *.* to ‘repl_user’@’10.0.0.%’ identified by ‘testpassword’;
mysql>flush privileges;
#从库不一致时,执行如下操作。
#这个参数可以设置为99999
L009-oldboy-mysql-dba-lesson09
mysql> grant replication salve,replication client on *.* to ‘repl_user’@’10.0.0.%’ identified by ‘testpassword’;
mysql>flush privileges;
#从库不一致时,执行如下操作。
#这个参数可以设置为99999