Launch a mongod instance in the IDE terminal with a configuration file:
1. Write the configuration file. There should be an empty configuration file in your IDE File Editor, where you can specify options in YAML.As a reminder, here are the requirements of your mongod instance:
** * run on port 27000**
** * authentication is enabled**
when i am doing lab test , im getting the following error.I have given mongod --port 27000 --auth in mongod.conf file.Am i missing something here in understanding the IDE terminal or the process to follow .Please help
3 total, 0 passed, 0 skipped:
[FAIL] “The server is running on localhost:27000”
Did you launch mongod on port 27000?
[FAIL] “The server requires authentication”
Don’t forget to launch mongod with authentication enabled!
You can do this using the configuration file.
[FAIL] “Mongod was started with a configuration file”
Did you launch mongod using a configuration file?