Như Quỳnh Lan
New member
How create config file in MongoDB?
Answer
Answer
- Create Configuration File. Create a text file and name it as mongodb.conf .
- Start MongoDB. Start the MongoDB server using configuration file with the –config option or -f option.
- Connect MongoDB. Connect to MongoDB via MongoDB shell.
- Verify Configuration Options.