Want to import data from multiple SQL files into 1 MongoDB collection?
Using Withdata File To DB, a MongoDB SQL importer for Windows, MacOS, and Linux, you can import data from multiple SQL files into a single MongoDB collection in one go, 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.
Download FileToMongo
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
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:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.