简体   繁体   中英

How to import data from mySQL to MongoDB database?

How to import data from mysql to mongoDB? I have a mysql database which updates once in a day. I need to import or read some data from it and show it to my web site. I am developing my web site in Meteor JS framework, which uses only mongoDB. What is the best solution for this problem? I think it will be better reading data from mysql and write it to mongoDB instantly. I cant use database migration its because my mqsql data base updates everyday. Any tools or programming example?

由于Meteor基于Node.js,因此您可以使用NPM的Node.js MySQL驱动程序: https ://www.npmjs.org/search?q=mysql这样,您应该能够从MySQL中读取数据并将其推送到您的MongoDB中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM