node.js - 如何在 Windows 上启动和停止 mongodb 服务器?
问题描述
开始
C:\Windows\System32>net start MongoDB
The MongoDB service is starting.
The MongoDB service was started successfully.
停止
C:\Windows\System32>net stop MongoDB
The MongoDB service is stopping.
The MongoDB service was stopped successfully.
解决方案
首先。您应该在下一个 cmd 以管理员身份运行它
净停止 MongoDB
和过程完成。
推荐阅读
- debugging - 调试没有源代码的编译二进制文件
- winforms - 如何进行树搜索?
- python - 我如何通过使用 aws lambda 函数来创建 aws 阶跃函数以进行并行/序列
- android - 为什么使用 Hilt 时不能自动实例化类 DetailsViewModel?
- google-sheets-formula - 来自另一个电子表格中的列的第 n 个实例的 Google 表格行号
- php - 按动态变化的价格对产品进行排序
- javascript - 在过去的 8 个小时里,我试图通过我的 express 后端将一个简单的 JSON 对象与一些来自 api 的数据传递给我的一个反应组件
- java - 项目作为 annotationProcessor 无法正常工作
- python - FastAPI/Starlette,Web UI:保存文件对话框,打开文件对话框
- c - 如何使用 ac 目标文件在 ghci 中测试外来调用