0 votes
1 view
in SQL by (47.8k points)

How can I set up MongoDB so it can run as a Windows service?

1 Answer

0 votes
by (107k points)

To run MongoDB as a Windows service you should run it with the --install command line switch, it installs it as a Windows Service.

mongod --install

It might be worth reading this thread first though. There seem to be some problems with relative/absolute paths when the relevant registry key gets written.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...