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