![]() 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. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |