Which version of mongodb am i running
Improve this question. Promise Preston Ville Miekk-oja Ville Miekk-oja Add a comment. Active Oldest Votes. Just run your console and type: db. Improve this answer. Punit Gupta Punit Gupta 3, 1 1 gold badge 15 15 silver badges 20 20 bronze badges. Option1: Start the console and execute this: db. Serp C 1 1 gold badge 9 9 silver badges 23 23 bronze badges. To check MongoDB version use the mongod command with --version option.
Paul Jackson Paul Jackson 1, 17 17 silver badges 25 25 bronze badges. Saurabh Mistry Saurabh Mistry 9, 4 4 gold badges 36 36 silver badges 58 58 bronze badges. In this case you can follow like this: mongoose.
Admin mongoose. It provides a lot more than the version info, but version information is included in two fields: the version field and the versionArray field. The db. This method returns the version of the mongod or mongos instance. Example: db. Example: mongod --version Result: db version v4. The mongo --version Command If you need the mongo shell version, you can run the mongo --version command from a Terminal window or Command Prompt. Add a comment. Active Oldest Votes. Improve this answer.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete?
0コメント