This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

setting GTID replication

mysql Ver 15.1 Distrib 10.1.19-MariaDB, for Linux (x86_64) using readline 5.1

I'm trying to set a replication with the following options in my.cnf: [mysqld] server-id = 1 log-bin = mysql-bin binlog_format = ROW enforce_gtid_consistency (tryed the following values: = True / = on / no value) gtid_mode = on log_slave_updates

I get the following error when trying to start the MariaDB service: mysqld[26528]: 2016-11-08 14:42:39 139882797168896 [ERROR] /usr/sbin/mysqld: unknown option '--enforce_gtid_consistency' mysqld[26528]: 2016-11-08 14:42:39 139882797168896 [ERROR] Aborting

What am I missing? Fedora system TY

Answer Answered by Brian Evans in this comment.

As noted on https://mariadb.com/kb/en/mariadb/system-variable-differences-between-mariadb-101-and-mysql-56/

MariaDB has a different GTID implementation than MySQL and the variable enforce_gtid_consistency does not exist.

Please see https://mariadb.com/kb/en/global-transaction-id/ for details on configuration.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.