windows环境下如何启动mongodb服务
时间:2022-06-02 20:06:01
windows环境下启动mongodb服务的方法:
1、打开命令窗口,切换到mongodb安装目录下的“bin”目录中。
输入命令:cd E:softwareMongoDBServer3.4bin
2、启动服务。输入命令:”mongod --dbpath E:softwareMongoDBdata
注:--dbpath是指定数据库存放目录,要注意dbpath前有两个“-”。
3、命令窗口中打印一些启动信息,则表示启动成功。如下所示:
4、在浏览器中输入http://localhost:27017/即可看到显示信息为:
到此为止,mongodb服务已启动成功,关闭命令窗口即可关闭mongodb服务。
windows环境下如何启动mongodb服务的下载地址:
标签:mongodb服务
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
CAD迷你画图如何插入图片文件
2023-12-12 15:42:59
![](https://img.aspxhome.com/file/2023/9/a341390_0s.png)
Windows7下PCSX2设置教程
2022-02-15 08:38:31
![](https://img.aspxhome.com/file/2023/27/a230985_0s.jpg)
win11开机登录界面壁纸的设置方法
2023-06-17 11:22:03
![](https://img.aspxhome.com/file/2023/30/a263872_0s.jpg)
wps表格怎样编辑备注
2022-09-23 08:29:36
谷歌浏览器怎么设置搜索引擎为谷歌?
2022-09-05 09:10:13
![](https://img.aspxhome.com/file/2023/30/a267158_0s.jpg)
Win10发布KB5003637累积更新修复了哪些漏洞?
2023-12-12 20:05:25
![](https://img.aspxhome.com/file/2023/2/51282_0s.jpg)
迅雷 Thunder for Mac的使用方法、相关设置以及其他功能使用
2023-04-05 01:31:21
![](https://img.aspxhome.com/file/2023/7/a214337_0s.jpeg)
印章大师怎么用?印章大师使用教程介绍
2023-03-20 21:05:27
WPS制作课件教程:修改图形
2023-03-21 05:57:17
![](https://img.aspxhome.com/file/2023/3/a169983_0s.jpg)
2007Excel单元格里的小写如何转成大写
2022-11-30 03:39:52
小窍门恢复被弄乱的Excel菜单和工具栏
2023-10-02 06:34:28
电脑蓝屏显示你的电脑遇到问题需要重新启动怎么解决?
2023-05-14 15:59:27
![](https://img.aspxhome.com/file/2023/30/a266012_0s.jpg)
苹果对Siri隐私问题进行道歉,声明将不再保留Siri互动录音功能!
2022-02-01 05:52:37
![](https://img.aspxhome.com/file/2023/7/a211817_0s.png)
Win7纯净版系统开机wifi警告“无法启动承载网络”怎么回事?
2022-08-26 23:20:53
![](https://img.aspxhome.com/file/2023/27/a229493_0s.jpg)
文字排版动画制作视频教程(AE Typemonkey脚本教程)
2022-06-13 15:32:10
![](https://img.aspxhome.com/file/2023/0/a212220_0s.jpeg)
Win10 upgrade文件能删除吗 upgrade文件删除方法
2022-10-01 05:42:14
![](https://img.aspxhome.com/file/2023/3/a294811_0s.jpg)
win7系统下连接网络共享时出现错误1061
2024-01-02 20:23:35
![](https://img.aspxhome.com/file/2023/5/a313753_0s.jpg)
word文档怎么横向排版?word设置横向排版的两种方法
2022-03-25 14:07:37
![](https://img.aspxhome.com/file/2023/30/a270843_0s.jpg)
Win10系统涂鸦板如何打开?win10系统打开涂鸦板教程
2022-03-12 20:39:03
![](https://img.aspxhome.com/file/2023/26/a221120_0s.jpg)
win7/win8系统无法使用wifi共享精灵怎么办
2022-06-17 00:16:44
![](https://img.aspxhome.com/file/2023/29/a254909_0s.png)