How to set mongo db dbpath on windows 7?

前端 未结 3 2028
旧巷少年郎
旧巷少年郎 2021-01-12 04:02

How do I set mongo db dbpath on windows 7? I created a directory in my my C drive as data/db but it is not working.

3条回答
  •  误落风尘
    2021-01-12 04:20

    --> in the path of windows paste url install for example: C:/mongodb/bin
    -->here mongod.exe and mongo.exe

    add C:/mongodb/bin

    open cmd, write: mongod open other cmd,write mongo

    enjoy :)

    PD: It's the same for other python, ruby etc. Windows is hurts T_T haha

提交回复
热议问题