MongoDB - shutting down with code:62

后端 未结 10 887
既然无缘
既然无缘 2020-12-05 17:58

I followed the MongoDB Docs to run my MongoDB in macOS,

When I start MongoDB using the terminal get this error:

Shutting down with code: 62

10条回答
  •  广开言路
    2020-12-05 18:20

     Error code 62:MongoDB dbpath doesn't support the current version 
    

    Removing data director is not an optimal solution. The best solution would be to upgrade to the higher version.

    Else take the dump & restore the complete database on a fresh instance with a higher version.

    mongodump --db employee --out /path/

    mongorestore /path/employee/

    Hope this helps !!!

提交回复
热议问题