当前位置:网站首页>mongo进入报错
mongo进入报错
2022-07-31 15:04:00 【GIS从业者】
问题:在cmd中,输入命令mongo就报错
couldn’t connect to server 127.0.0.1:27017
应该是没有启动服务的原因,打开服务,并没有发现MongoDB这个服务
解决方法
还是在cmd中,输入下面两个命令
(1)删除服务
sc delete MongoDB
(2)创建服务,注意创建的位置
sc create MongoDB binPath= “C:\Program Files\MongoDB\Server\4.0\bin\mongod.exe --service --config=D:\mongodb\mongo.config”
最后打开服务,启动服务
再次进入mongo,成功了
边栏推荐
- Synchronized和volatile 面试简单汇总
- OpenShift 4 - Deploy Redis Cluster with Operator
- 蔚来杯2022牛客暑期多校训练营4
- Redis与分布式:集群搭建
- TRACE32——常用操作
- Synchronized and volatile interview brief summary
- Architecture actual combat battalion module 8 message queue table structure design
- NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
- 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
- 小试牛刀:Go 反射帮我把 Excel 转成 Struct
猜你喜欢
乡村基冲刺港交所:5个月期内亏2224万 SIG与红杉中国是股东
Sentinel服务熔断和降级
The paper manual becomes 3D animation in seconds, the latest research of Wu Jiajun of Stanford University, selected for ECCV 2022
Public Key Retrieval is not allowed error solution when DBeaver connects to MySQL 8.x
abaqus find contact pairs报错:surface name is already in use
公告
看交互设计如何集成到Scrum敏捷流程中
LeetCode二叉树系列——110.平衡二叉树
TRACE32——基于SNOOPer的变量记录
基于最小二乘法和SVM从天气预报中预测太阳能发电量(Matlab代码实现)
随机推荐
Nuget package and upload tutorial
公告
Ubuntu Topic 5: Setting a Static IP Address
leetcode303场周赛复盘
安装Xshell并使用其进行Ymodem协议的串口传输
Selenium自动化中无头浏览器的应用
Architecture actual combat battalion module 8 message queue table structure design
Spark学习(3)-Spark环境搭建-Standalone
OpenShift 4 - Customize RHACS security policies to prevent production clusters from using high-risk registry
ES6 类
OpenCV测量物体的尺寸技能 get~
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
[CUDA study notes] First acquaintance with CUDA
R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(caption、添加、修改可视化图像的题注、脚注内容)
Sentinel流量控制
WeChat chat record search in a red envelope
Network cable RJ45 interface pins [easy to understand]
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
工程力学复习资料
自适应控制——仿真实验三 用超稳定性理论设计模型参考自适应系统