如何为钨复制器设置 MariaDB?

How to set up MariaDB for tungsten replicator?

我正在使用 MariaDB,下面是我的配置文件:

cat /etc/my.cnf.d/server.cnf 
....
binlog_format=row
server_id=12
sync_binlog = 100
binlog-row-image = full
binlog_cache_size = 16M
binlog_stmt_cache_size = 16M

但是 tpm 安装有如下错误信息:

ERROR >> 127_0_0_1 >> The MySQL datasource binlog_format must be set to 'ROW' 
for heterogenous replication. The MySQL configuration file does not include   
binlog_format=row (RowBasedBinaryLoggingCheck)
ERROR >> 127_0_0_1 >> The MySQL config file '/etc/my.cnf.d/server.cnf' does    
not include a value for server-id (MySQLApplierServerIDCheck) 
Check the file to ensure a value is given and that it is not commented out

请帮忙!

我通过添加“--skip-validation-check=MySQLApplierServerIDCheck”选项解决了这个问题。 对于 mariaDB,tungsten-replicator 在主配置文件中查找,而不是在包含的配置文件中查找。