mongod command not recognized when trying to connect to a mongodb server

后端 未结 14 639
暖寄归人
暖寄归人 2021-01-31 01:11

I am following the tutorials at docs.mongodb.org, I have completed the first tutorial which was to install mongodb on a windows machine. I am now at the second stage which is ge

14条回答
  •  温柔的废话
    2021-01-31 02:07

    before using MongoDB you have to run it locally to do that:

    • go to bin folder you will find at C:\Program Files\MongoDB\Server\4.2\bin
    • open mongod.exe. will open a new terminal with server details.
    • open mongo.exe. will open the shell which allows you to interact with the database.

提交回复
热议问题