当前位置:网站首页>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
边栏推荐
- 【MySQL】Mysql范式及外键作用
- R语言ggplot2可视化:使用ggpubr包的ggmaplot函数可视化MA图(MA-plot)、font.legend参数和font.main参数设置标题和图例字体加粗
- 11 pinia use
- ASP.NET Core 产生连续 Guid
- 实现防抖与节流函数
- 使用 GraphiQL 可视化 GraphQL 架构
- 浏览器自带的拾色器
- Bilateral filtering acceleration "recommended collection"
- R语言ggstatsplot包ggbarstats函数可视化条形图、并添加假设检验结果(包含样本数、统计量、效应大小及其置信区间、显著性、组间两两比较、贝叶斯假设)、检验结果报告符合APA标准
- what exactly is json (c# json)
猜你喜欢
随机推荐
How useful is four-quadrant time management?
TextBlock控件入门基础工具使用用法,取上法入门
Excel快速对齐表格的中姓名(两个字姓名和三个字姓名对齐)
button控件的使用
border控件的使用
ES6 类
蔚来杯2022牛客暑期多校训练营4
NC | 中国农大草业学院杨高文组揭示发现多因子干扰会降低土壤微生物多样性的积极效应...
格林美瑞交所IPO:募资3.8亿美元 更多中国企业将赴欧洲上市
工程水文学试卷
[MySQL] Mysql paradigm and the role of foreign keys
R language test whether the sample conforms to normality (test whether the sample comes from a normally distributed population): shapiro.test function tests whether the sample conforms to the normal d
R语言检验样本是否符合正态性(检验样本是否来自一个正态分布总体):shapiro.test函数检验样本是否符合正态分布(normality test)
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
JVM参数解析 Xmx、Xms、Xmn、NewRatio、SurvivorRatio、PermSize、PrintGC「建议收藏」
01 邂逅typescript,环境搭建
腾讯云部署----DevOps
TRACE32——基于SNOOPer的变量记录
Web自动化实战——Selenium4(自动化测试环境的搭建)
Female service community product design