Import in mongodb from mysql, it’s possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Expanding on what Flukey said; you need to write a script which will do this for you; there isn’t a direct export -> import as MySQL is a relational database, where as MongoDB is a NoSQL database.
For further understanding on NoSQL you can read here: NoSQL
You can do something like export to CSV and import into mongo as described in this article CSV Import however, it’s very likely that your schema is going to be different in NoSQL compared to MySQL; so it’s really worth designing your schema to fit the data then migrate over.