You need to execute a command for MongoDB that does NOT load values from the .mongorc.js file. What do you do ?

  • Delete the .monorc.js file and restart mongo shell.
  •  Use the mongo shell to create a command with –norc option
  •  Rem all lines in the .mongorc.js file ad restart mongo shell.
  •  Use the mongo shell to create a command with –nodedefault option.

Leave a Reply

Your email address will not be published. Required fields are marked *