[ANN] MysqlTableSyncer 0.2

R

Roger Pack

Released a script recently to sync the contents of tables between two
different mysql databases.

The need for this is mostly as a faster, open source replacement to
Navicat [to those who have used it] or SQLyog -- since you can sync on
the command line it's faster :)

Syntax:
ruby syncer.rb --from=database1 --to=database2 --tables=table_1,table_2

It will show you a diff of the tables and/or optionally sync them so
that the contents of database2's table_1 and table_2 will match
database1

New in version 0.2:
Now it can do a limited structure sync of different tables, as well, and
perform an "entire database" sync.

See
http://code.google.com/p/ruby-roger-useful-functions/wiki/MysqlTableSyncer
for more details.

Feedback welcome.
Thanks!
-=Roger
 
M

Michael Guterl

Released a script recently to sync the contents of tables between two
different mysql databases.

The need for this is mostly as a faster, open source replacement to
Navicat [to those who have used it] or SQLyog -- since you can sync on
the command line it's faster :)

Syntax:
ruby syncer.rb --from=database1 --to=database2 --tables=table_1,table_2

It will show you a diff of the tables and/or optionally sync them so
that the contents of database2's table_1 and table_2 will match
database1

New in version 0.2:
Now it can do a limited structure sync of different tables, as well, and
perform an "entire database" sync.

See
http://code.google.com/p/ruby-roger-useful-functions/wiki/MysqlTableSyncer
for more details.
It would be great if you could package this as a gem.

This sounds really useful.

Thanks!
Michael Guterl
 
B

Bill Walton

Hi Roger,

Roger Pack wrote:

Released a script recently to sync the contents of tables between two
different mysql databases.

Nice! I took a look and posted a little feedback at the link provided.
Looking forward to trying it out!

Best regards,
Bill
 
P

Pablo Q.

[Note: parts of this message were removed to make it a legal post.]

really cool. Waiting for oracle version...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,149
Latest member
Vinay Kumar Nevatia0
Top