mysql.gtid_executed table is empty I want to keep track of GTIDs and the corresponding mysqlbin log somewhere. I see this mysql.gtid_executed table, however on my mariadb DB, there are no rows in this table. Any idea how this gets populated ? These are the GTID related parameters. Any help is appreciated.
MariaDB [(none)]&gt; show variables like '%gtid%';
+-------------------------+--------------+
| Variable_name           | Value        |
+-------------------------+--------------+
| gtid_binlog_pos         | 0-10001-4866 |
| gtid_binlog_state       | 0-10001-4866 |
| gtid_cleanup_batch_size | 64           |
| gtid_current_pos        | 0-10001-4866 |
| gtid_domain_id          | 0            |
| gtid_ignore_duplicates  | OFF          |
| gtid_pos_auto_engines   |              |
| gtid_seq_no             | 0            |
| gtid_slave_pos          | 0-10001-4866 |
| gtid_strict_mode        | ON           |
| last_gtid               |              |
| wsrep_gtid_domain_id    | 0            |
| wsrep_gtid_mode         | OFF          |
| wsrep_gtid_seq_no       | 0            |
+-------------------------+--------------+
gtid_executed table is from your former MySQL instance. It isn't used by MariaDB.
The global gtid%pos variables you have listed keep track of the gtid.