Want to copy data from MySQL table to MongoDB collection?
Using DBToMongo, a native GUI tool, you can transfer data from MySQL table to MongoDB collection easily and fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
- Support Windows, Linux, macOS.
Copy MySQL data to MongoDB
Login to MySQL and MongoDB -> Choose MySQL table -> Set MongoDB collection -> Export MySQL data to MongoDB
Login to MySQL.
Login to MongoDB.
Click “Convert From Table” at task dialog.
then show the wizard.
1. Choose source MySQL table.
2. Choose destination MongoDB collection and config fields.
3. Summary.
4. Copy MySQL table data to MongoDB collection.
Click “View”, See MongoDB collection data.
Copy MySQL data to MongoDB in command line
Save session, and then create .bat file for Windows command line, or .sh file for Linux / macOS.
Set scheduled tasks for coping MySQL data to MongoDB
You can schedule and automate this “MySQL to MongoDB” conversion task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.