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.
db.version()
gives me the same version as the shell version, but still wondering if this is always the case, or just coincidence in my case. Also, when I run/usr/bin/mongo --version
, I getMongoDB shell version: 2.6.12
, so this still refers to the "mongodb shell"