Search code examples
mongodbservercommand-promptatom-editorcommunity-server

What is the problem while running mongod.exe?


Command prompt showing this.

shutting down is showing what does this mean? I m having problem in running mongod.exe


Solution

  • the problem is with your data path.

    1. make sure that the data path that you are using exists. in your case (C:/data/db/) if not then create the folders
    2. use the following command: mongod.exe --dbpath C:/data/db/