我想将Etherpad服务器后面的数据库从MySQL迁移到Mongodb。将Etherpad DB从MySQL迁移到Mongodb
存在任何已知的脚本来做到这一点?如果不是的话,我自己写剧本有没有什么可笑的东西?
我想将Etherpad服务器后面的数据库从MySQL迁移到Mongodb。将Etherpad DB从MySQL迁移到Mongodb
存在任何已知的脚本来做到这一点?如果不是的话,我自己写剧本有没有什么可笑的东西?
而在这命令..
mysqldump -uroot -pwhatever store > etherpad.sql
vi settings.json (editing your database to use your mongodb)
/etc/init.d/etherpad-lite restart
node bin/importSqFile.js etherpad.sql
应该这样做。
哪有一个脚本 - 任何人,但你知道你的模式是在MySQL或MongoDB中的内容。 – 2013-05-06 15:32:09
每个使用Etherpad的人都知道模式。 :)也为MongoDB – blitzkid 2013-05-06 16:59:55
? – 2013-05-06 17:00:29