mysql_syncer

0.0.17 • Public • Published

mysq_syncer

mysql realtime syncer based on zongji (binlog-slave-monitoring)

todo

https://segmentfault.com/a/1190000008169097

limitation

  • table schema sync is not yet done;

usage

node -p "require('mysql_syncer')" /excludeSchema="{dbxxx:['g_tick2']}" /includeSchema="{dbxxx:true}" \
    /src_host=srchost /src_port=3306 /src_user=srcuser /src_pass=srcpass \
    /tgt_host=tgthost /tgt_port=3306 /tgt_user=tgtuser /tgt_pass=tgtpass

Readme

Keywords

none

Package Sidebar

Install

npm i mysql_syncer

Weekly Downloads

1

Version

0.0.17

License

ISC

Unpacked Size

13.4 kB

Total Files

7

Last publish

Collaborators

  • cmptech