Skip to content

How to synchronize data using gtid? #114

Open
@yaqianghan

Description

@yaqianghan

Please provide the following details.

  • Operating System: <Linux | Windows | OS X>
  • PHP Version: <5.6 | 7.0 | ...>
  • php-mysql-replication Version: <1.0.0>
  • *mysql version (SELECT VERSION();): <5.6.9 Percona | 10 Maria | ... >

Steps required to reproduce the problem.

  1. How to synchronize data using gtid?

Expected Result.

source data: O:37:"MySQLReplication\BinLog\BinLogCurrent":4:{s:53:"MySQLReplication\BinLog\BinLogCurrentbinLogPosition";i:160437496;s:50:"MySQLReplication\BinLog\BinLogCurrentbinFileName";s:16:"mysql-bin.000089";s:43:"MySQLReplication\BinLog\BinLogCurrentgtid";s:45:"e2e75fef-cdac-11ec-b007-6c92bf48c1de:53417565";s:50:"MySQLReplication\BinLog\BinLogCurrentmariaDbGtid";N;}

  •                 ->withBinLogFileName($binLogCurrent->getBinFileName())
                  ->withGtid($binLogCurrent->getGtid());
    

Actual Result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions