How to import data from mongodb to MySQL?

In particular, can I use some bridge for this, as first I have to copy the data to excel fro mongodb, and then that Excel data can be easily imported into mysql using some scripts like Python.

+4
source share
1 answer

MongoDB does not offer any direct tool for this, but you have many options for this.

You can:

  • Create your own tool using your favorite language that connects to MongoDB and MySQL and copies data.
  • Use mongoexport to create files and mysqlimport to reimport them in MySQL
  • ETL (Extract, Transform, Load), MongoDB, MySQL. , , Talend, MongoDB, .

. , , Array/List, . , /.

+3

All Articles