0 votes
1 view
in Web Technology by (47.8k points)

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 shell (mongo.exe), I can see it outputs:

MongoDB shell version: 3.2.0

But that's just the shell version, and I'm not sure whether it's the same as my real database version.

2 Answers

0 votes
by (107k points)

To find the exact version of installed MongoDB you just need to run your console and type:

db.version()

0 votes
by (80.9k points)

Open a shell console and write the following syntax:

$ mongod --version

It will show you something like

$ mongod --version

db version v4.0.2

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...