zoqainsight.blogg.se

Centos check version
Centos check version













You could alternatively navigate to the folder via the file explorer – a process which will also reveal the version number. Ironically, you’ll need to know the version before you can write the path! (You’ll need to replace 4.4 with the your MongoDB version). Like this: "C:\Program Files\MongoDB\Server\4.4\bin\mongod.exe" -version If you’re on Windows and you haven’t added MongoDB to your PATH, you’ll need to use the full path. If you’re not connected to MongoDB, you can open a Terminal window or Command Prompt and run mongod -version. Result: 4.4.1 The mongod -version Command This method returns the version of the mongod or mongos instance.

centos check version centos check version

If you’re already connected to MongoDB, you can use the db.version() method to check the version. If you’re wondering what version of MongoDB you’re running, here are 7 ways you can use to check.Īctually, some of these check your MongoDB server version, and some check your mongo shell version.















Centos check version