Configuring MongoDB on Windows

后端 未结 6 689
耶瑟儿~
耶瑟儿~ 2021-02-08 10:49

I am trying to set up MongoDB on Windows, and the online docs seem far from accurate.

Under \"Configure a Windows Service\" part, step 1 mentions to create a config file

6条回答
  •  遇见更好的自我
    2021-02-08 11:25

    Bit late but I had the exact same issue today. If you use forward slashes for your paths within the config file it works fine.

    systemLog: destination: file logAppend: true path: "e:/mongo_data/3.6/mongo.log" storage: dbPath: "e:/mongo_data/3.6/db" engine: "wiredTiger"

提交回复
热议问题