Cannot start MongoDB: System error 1067 in Windows

前端 未结 7 1964
一个人的身影
一个人的身影 2021-02-12 11:24

After setting up MongoDB service on Windows Server 2008 R2 this error was raised.

C:\\mongodb\\bin>net start MongoDB
The Mongo DB service is starting.
The Mo         


        
7条回答
  •  悲哀的现实
    2021-02-12 11:39

    If you are in the Windows. you should change the mongodb's config in the System disk.For example

    1) I change C:\Windows\system32\mongodb.exe.

    2) And I make the path in D:\mongodb\mongod.cfg .Before this,you should remove previous.

    3) Finally , you can net the serve. net start mongodb.

    I hope it can help you .English is not very good ,please forgive me. enter image description here

提交回复
热议问题