当前位置:网站首页>mongo enters error
mongo enters error
2022-07-31 15:19:00 【GIS practitioner】
Problem: In cmd, an error is reported when the command mongo is entered
couldn't connect to server 127.0.0.1:27017
It should be the reason that the service is not started, open the service, and did not find the service MongoDB
Workaround
Or in cmd, enter the following two commands
(1) Delete service
sc delete MongoDB
(2) Create a service, pay attention to where it is created
sc create MongoDB binPath= “C:\Program Files\MongoDB\Server\4.0\bin\mongod.exe --service --config=D:\mongodb\mongo.config”
Finally open the service, start the service
Enter againmongo, successful
边栏推荐
- Why is the field of hacking almost filled with boys?
- Deployment应用生命周期与Pod健康检查
- what exactly is json (c# json)
- [MySQL] Mysql paradigm and the role of foreign keys
- The meaning of node_exporter performance monitoring information collection in Prometheus
- 乡村基冲刺港交所:5个月期内亏2224万 SIG与红杉中国是股东
- Word table to Excel
- ASP.NET Core 产生连续 Guid
- Linux check redis version (check mongodb version)
- 公告
猜你喜欢

Why don't you make a confession during the graduation season?

如何进行需求分析评审

TextBlock控件入门基础工具使用用法,取上法入门

Grafana安装后web打开报错

Use of radiobutton

Kubernetes常用命令

TRACE32 - Common Operations

Word table to Excel

Excel quickly aligns the middle name of the table (two-word name and three-word name alignment)

看交互设计如何集成到Scrum敏捷流程中
随机推荐
梅克尔工作室-第一次
Emmet 语法
TRACE32——基于SNOOPer的变量记录
国内市场上的BI软件,到底有啥区别
JVM parameter analysis Xmx, Xms, Xmn, NewRatio, SurvivorRatio, PermSize, PrintGC "recommended collection"
01 Encounter typescript, build environment
435. 无重叠区间
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
TRACE32——C源码关联
删除 状态良好(恢复分区)的磁盘
SQL、HQL、JPQL 到底有什么区别
使用 Chainlink Keepers 实现智能合约函数的自动化执行
Excel quickly aligns the middle name of the table (two-word name and three-word name alignment)
Female service community product design
模板与泛型编程值typelist实现
ASP.NET Core 产生连续 Guid
思路迪医药冲刺港股:5个月亏2.9亿 泰格医药与先声药业是股东
JVM参数解析 Xmx、Xms、Xmn、NewRatio、SurvivorRatio、PermSize、PrintGC「建议收藏」
微信聊天记录中搜索红包
TRACE32——常用操作