I’m trying to follow the instructor’s examples on the lecture, but my system tells me:
Error parsing command line: unrecognised option ‘–fork’ when I type
mongod --port 30000 --dbpath ~/first_mongod --logpath ~/first_mongod/mongodb.log --fork
After a search, I learned that Windows doesn’t support the --fork
option.
So what can I install on my system for the fork option to work on my Windows system?
Also, when I remove the fork option, I get the below.
But the instructor gets “Child process started successfully, parent exiting”.
What can I do to proceed?
Thanks