How to find the exact version of installed MongoDB

后端 未结 5 1796
独厮守ぢ
独厮守ぢ 2021-01-31 01:04

I have mongoDB 3.2 installed locally for Windows 7. I would like to find out its specific version (like is it 3.2.1, or 3.2.3 or...). How could I find it? If I open the database

5条回答
  •  长发绾君心
    2021-01-31 01:34

    Option1:

    Start the console and execute this:

    db.version()
    

    Option2:

    Open a shell console and do:

    $ mongod --version

    It will show you something like

    $ mongod --version
    db version v3.0.2

提交回复
热议问题