MongoDB-使用代码62关闭 [英] MongoDB - shutting down with code:62

查看:97
本文介绍了MongoDB-使用代码62关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跟随MongoDB文档在macOS中运行我的MongoDB,

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

当我使用终端启动MongoDB时,出现以下错误:

When I start MongoDB using the terminal get this error:

关闭代码:62

Shutting down with code: 62

推荐答案

删除MongoDB存储的数据目录并再次创建.

Delete the data directory where MongoDB stored and create again.

rmdir data

并且:

mkdir data/db

这篇关于MongoDB-使用代码62关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆