mongod and mongo commands not working on windows 10

后端 未结 6 1270
灰色年华
灰色年华 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 23:06

    To add it to the PATH:

    Add Mongo’s bin folder to the Path Environment Variable Kindly check the link: here After adding bin folder to the path Environment Variable then simply type mongo in terminal it will start working

提交回复
热议问题