当前位置:网站首页>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
边栏推荐
- 如何进行需求分析评审
- OpenShift 4 - Deploy Redis Cluster with Operator
- OpenCV测量物体的尺寸技能 get~
- The use of button controls
- json到底是什么(c# json)
- 最小费用最大流问题详解
- Web自动化实战——Selenium4(自动化测试环境的搭建)
- ASP.NET Core 产生连续 Guid
- JVM parameter analysis Xmx, Xms, Xmn, NewRatio, SurvivorRatio, PermSize, PrintGC "recommended collection"
- R语言检验样本是否符合正态性(检验样本是否来自一个正态分布总体):shapiro.test函数检验样本是否符合正态分布(normality test)
猜你喜欢
随机推荐
QGIS 加载WMS数据,重新投影
Bilateral filtering acceleration "recommended collection"
Getting Started with TextBlock Control Basic Tools Usage, Get Started
WPF项目--控件入门基础用法,必知必会XAML
OpenShift 4 - Deploy Redis Cluster with Operator
ES6 类
Node实现数据加密
TRACE32——C源码关联
Ubuntu Topic 5: Setting a Static IP Address
实现防抖与节流函数
工程水文学复习资料
TextBlock控件入门基础工具使用用法,取上法入门
R language ggplot2 visualization: use the ggmapplot function of the ggpubr package to visualize the MA plot (MA-plot), the font.legend parameter and the font.main parameter to set the title and legend
Synchronized和volatile 面试简单汇总
使用 Chainlink Keepers 实现智能合约函数的自动化执行
Deployment application life cycle and Pod health check
org.apache.jasperException(could not initialize class org)
华医网冲刺港股:5个月亏2976万 红杉与姚文彬是股东
Trigonometric identity transformation formula
RecyclerView高效使用第三节









