Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to synchronize data using gtid? #114

Open
yaqianghan opened this issue Apr 24, 2024 · 1 comment
Open

How to synchronize data using gtid? #114

yaqianghan opened this issue Apr 24, 2024 · 1 comment

Comments

@yaqianghan
Copy link

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.

@yaqianghan
Copy link
Author

@kobi97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant