如何为钨复制器设置MariaDB?

时间:2016-02-18 08:20:55

标签: mariadb 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 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

请帮忙!

1 个答案:

答案 0 :(得分:0)

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