0

我正在使用 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 install 有如下错误消息:

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

请帮忙!

4

1 回答 1

0

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

于 2016-02-22T01:42:48.577 回答