How create config file in MongoDB?

How create config file in MongoDB?
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.
 

Tìm kiếm

Back
Top