MongoDB - shutdown with code: 62

I followed MongoDB docs to run my MongoDB on macOS,

When I start MongoDB using terminal, get this error:

Shutdown with code: 62

enter image description here

+6
source share
2 answers

Delete the data directory in which MongoDB is stored and created again.

rmdir data

and

mkdir data/db
+11
source

I had a similar problem when I switched to a new version mongodwithout updating the data (from version 3.2, for example, to version 3.6).

In this case, it mongoddisplays ** IMPORTANT: UPGRADE PROBLEM: The data files need to be fully upgraded to version 3.4 before attempting an upgrade to 3.6; see http://dochub.mongodb.org/core/3.6-upgrade-fcv for more details.(it mongodwas launched by the key --verbose).

The link does contain detailed instructions for updating the data.

, 62 .

+3

All Articles