
- #Install mongodb windows service how to#
- #Install mongodb windows service install#
- #Install mongodb windows service manual#
This action will run MongoDB on the MS-DOS command-line, where it will continue to run for as long as the command-line window stays open! For command-line installation: double-click the MongoDB-RunCommandLine.bat script, or run it as Administrator by right-clicking on the MongoDB-RunCommandLine.bat file and choosing "Run as administrator".
#Install mongodb windows service install#


Terminating the script (or closing the window) causes MongoDB to stop.

To help mitigate these types of problems, I have created a set of MongoDB batch scripts which make it easier to install, configure, and uninstall MongoDB on a Windows PC.
#Install mongodb windows service manual#
Manual installations are all-too-often performed inconsistently, causing unique problems that only occur on the local system. Developers often have to remind themselves of how the installation procedure works, and they often forget one or two configuration settings. This provides flexibility, and makes MongoDB easier to integrate and distribute with a software application.īut even though there are advantages to the "manual" installation approach, there are also disadvantages.
#Install mongodb windows service how to#
Instead, it is left to the developer to determine where to install MongoDB, and how to configure it. I personally appreciate the fact that MongoDB does not come with a Windows installer.
