Where I can find MariaDB protocol document that different from MySQL -


mysql support gtid @ 5.6, mariadb support @ 10.0.2, mariadb mysql 5.5.5 compatible.

so, gtid replication protocol different mysql's replication.

here can find out

  • gtid format different
    • mysql:
      • uuid set
        • 3e11fa47-71ca-11e1-9e33-c80aa9429562:23
        • server_uuid:interval
      • gtid set
        • uuid_set[, uuid_set] ... | ''
    • mariadb
      • 0-3306-123
      • domainid-serverid-sequence
  • how start gtid replication
    • mysql
      • use com_binlog_dump_gtid
    • mariadb
      • set @mariadb_slave_capability = 4;-- gtid capability
      • set @slave_connect_state = '0-3311-90';-- gtid
      • send register_slave

but response packet still not same.so, there document these different ?

reference

finally, find document in code, described how.

thanks @zedfoxus, found issue mdev-26 described internal.

according above, implement maria gtid mode replication here


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -