First, My mongodb is very simple- single DB so I just follow the instruction -
https://docs.mongodb.com/manual/tutorial/upgrade-revision/ -
Replace the Existing Binaries
- Download the binaries for the latest MongoDB revision from the MongoDB Download Page and store the binaries in a temporary location. The binaries download as compressed files that uncompress to the directory structure used by the MongoDB installation.
- Shutdown the instance.
- Replace the existing MongoDB binaries with the downloaded binaries.
- Restart the instance.
My steps :
1. I download the latest revision of MongoDB -3.4.
2. Install MongoDB 3.4
3. change path
3.1 control panel
3.2 System --> Change settings
3.3 Advanced --> Environment Variables...
3.4 System Variables -->[Path]
3.5. change MongoDB path from 3.0 to .3.4 and then save.
3.6 open command prompt (cmd) and check version --- Mongod -version
No comments:
Post a Comment