Want to import data from multiple SQL files into 1 MongoDB collection?
Try Withdata FileToMongo, a SQL to MongoDB converter for Windows, MacOS, and Linux, Import SQL to MongoDB, Easy 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.
Import multiple SQL files into a single MongoDB collection
Login to MongoDB -> Choose SQL files -> Set MongoDB collection options. -> Import multiple SQL files into a single MongoDB collection
Start FileToMongo, connect to MongoDB.
Click “N File To 1 Collection” at task dialog.
Select the “SQL” file type.
1. Open a folder contains SQL files.
2. Set SQL options.
3. Set MongoDB collection options.
4. Preveiw data will be in MongoDB.
5. Import multiple SQL files to a single MongoDB collection.
After importing, you can view imported data in MongoDB.
Import multiple SQL files to a single MongoDB collection in command line
Save “SQL to MongoDB” session, then you can:
- Import multiple SQL files to a single MongoDB collection in Windows command line.
- Import multiple SQL files to a single MongoDB collection in Linux command line.
- Import multiple SQL files to a single MongoDB collection in macOS command line.
Set scheduled tasks for importing multiple SQL files to a single MongoDB collection
You can schedule and automate this ” SQL to MongoDB” conversion task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “SQL to MongoDB” conversion.
- Set scheduled task for “SQL to MongoDB” conversion.
FAQ
More about Withdata FileToMongo – SQL to MongoDB Converter
See also: