search

Home  >  Q&A  >  body text

node.js - windows cannot start mongodb service?

I’ve been searching for a long time but can’t find anything wrong! What’s going on? The result I want is that mongo can start automatically when booting!

It can be started through the command line! But it cannot be started automatically at boot! It needs to be started through the command line every time, and it cannot be closed!

漂亮男人漂亮男人2736 days ago1168

reply all(1)I'll reply

  • 某草草

    某草草2017-06-24 09:45:05

    You need to bring the --install parameter to mongod to install the service, and then net start MongoDB in cmd

    The following is the official website tutorial. If you set up auto-start on the window
    Click here to view

    reply
    0
  • Cancelreply