tungsten

tungsten下载地址:

https://code.google.com/p/tungsten-replicator/downloads/list

安装后的效果:

  在MySQL中执行下面的建表和插入数据的SQL:

mysql> create table foo(id int primary key, msg varchar(35));
Query OK, 0 rows affected (0.05 sec)
mysql> insert into foo values(1, 'hello from MySQL!');
Query OK, 1 row affected (0.00 sec)

  在MongoDB中随后就能查到相应的数据:

> show collections
foo
system.indexes
> db.foo.find();
{ "_id" : ObjectId("4dc55e45ad90a25b9b57909d"), "1" : "1", "2" : "hello from MySQL!" }
原文地址:https://www.cnblogs.com/ruiy/p/tungstenApplication.html