运行 mongod.exe 时有什么问题?

What is the problem while running mongod.exe?

显示正在关机 这是什么意思? 我在 运行 mongod.exe

中遇到问题

问题出在你的数据路径上。

  1. 确保您正在使用的数据路径存在。在你的情况下 (C:/data/db/) 如果没有则创建文件夹
  2. 使用以下命令:mongod.exe --dbpath C:/data/db/