mongod and mongo commands not working on windows 10

后端 未结 6 1273
灰色年华
灰色年华 2021-02-13 22:27

I\'ve installed mongoDB on my windows 10 OS. Then I tried setting its database path to some directory by moving to it and typing mongod --datapath=data in cmd, wher

6条回答
  •  离开以前
    2021-02-13 22:41

    reference : Microsoft document

    set your path like this

    ;C:\Program Files\MongoDB\Server\4.0\bin
    

    this is worked for me.

提交回复
热议问题