check mongodb version Just run your console and type: db.version(). also you can Check MongoDB Version in Windows / Linux using mongod –version & mongo -version.
check mongodb version – 7 Ways to Check your MongoDB Version
The db.version() Method – simply command to check mongodb version. also Another method to get the mongo shell version is to run mongo –help from a console window or Command Prompt.
first of all open the console and execute this:
command to check mongodb version
MongoDB shell version: 2.6.10
how to check if mongodb is installed?
Open the command prompt and type
"cd c:\program files\mongodb\server\your version\bin".
and then you enter the bin folder type “mongo start”. If you get either a successful connection or failed one it means it’s installed at least.
don’t miss : Install MongoDB On MacOS Step By Step
db version v2.6.10
MongoDB shell version: 2.6.10 connecting to: test
Using db.version() command
start Mongo Daemon.
sudo service mongod start
The mongo –help Command
I hope you get an idea about 7 Ways to Check your MongoDB Version.
I would like to have feedback on my infinityknow.com.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.