当前位置:网站首页>MongoDB数据库+图形化工具下载安装及使用
MongoDB数据库+图形化工具下载安装及使用
2022-07-23 13:25:00 【无 羡ღ】
1、下载
官网下载地址:https://www.mongodb.com/try/download


注意:在MongoDB版本的版本偶数版为稳定版通常用于生产环境,如3.2.x、3.4.x、3.6.x,奇数版本为开发版本:3.1.x、3.3.x、3.5.x表示开发版
2、安装
点击开始安装







3、安装失败问题解决
在安装MongoDB数据库的时候,有可能出现安装速度较慢,然后取消安装以后,再一次重新去安装的时候,在安装的最后一步可能会出现无法启动服务的现象

这种情况直接点击Ignore,完成安装以后
以管理员身份运行命令行窗口,使用该命令将MongDB服务删除掉
sc delete MongoDB
删除以后我们自己在data目录下创建一个db文件夹;log目录下创建一个MongoDB.log文件,如下:


重新装一个MongoDB服务就可以了,在安装目录的bin中打开控制台窗口输入命令:
mongod --dbpath=F:\mongodb\data\db --logpath=F:\mongodb\log\MongoDB.log --install --serviceName "MongoDB"
注意:第一个路径表示的是数据存放地址;第二个路径表示日志存放文件
如图所示:
再输入 net start MongoDB启动服务
执行结果如下图:
设置环境变量
设置完毕后,需要重启一下电脑
在cmd控制输入,mongod -version,出现版本号表示安装成功
4、启动
cmd控制输出: mongo回车,出现大于符号表示进入MongoDB数据库了
5、图形化工具
1)下载
官网下载地址(英文版,试用14天):https://www.mongodbmanager.com/download ( 傻瓜式安装,一路next到完成即可)
2)连接客户端
1、确保mongodb已经启动
2、如果没有特别设置账户权限,默认情况下无需修改新建连接信息
3)基本操作
1、点击+展开数据库集合
2、输入sql语句
3、操作集合

4、集合其他操作
选择集合并右击
6、更多详细操作
MongoDB全部教程文章推荐:MongoDB数据库入门到精通看这一篇就够了
边栏推荐
- 层次分析法(MATLAB)
- SSD: Single Shot MultiBox Detector
- 系统内存介绍和内存管理
- Convolutional neural network model -- googlenet network structure and code implementation
- Royal O'Brien, executive director of o3df: open source has no boundaries, and all shared sounds will become the actual direction
- Tan Zhangxi, director of risc-v Foundation: risc-v has gradually expanded from the edge to the center
- 距离IoU损失:包围盒回归更快更好的学习(Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression)
- go语言多返回值以及返回错误类型
- 银河证券网上开户,手机上开户安不安全
- 快速学会使用文件的权限
猜你喜欢

层次分析法(MATLAB)

Liupeng, vice president of copu: China's open source has approached or reached the world's advanced level in some areas

FreeRTOS个人笔记-挂起/解挂任务

Complete knapsack explanation of dynamic programming knapsack problem

卷积神经网络模型之——GoogLeNet网络结构与代码实现

【Redis】redis安装与客户端redis-cli的使用(批量操作)

Priyanka Sharma, general manager of CNCF Foundation: read CNCF operation mechanism

单片机内部IO口保护电路及IO口电气特性以及为什么不同电压IO之间为什么串联一个电阻?

Go 接口:深入内部原理

anchor free yolov1
随机推荐
Microcomputer principle and technical interface practice in class
UiPath Studio Enterprise 22.4 Crack
熵权法优化TOPSIS(MATLAB)
ESP8266-NodeMCU——从苏宁API获取实时天气
Direct exchange
三方支付公司有哪些?
TS encapsulates the localstorage class to store information
Visual analysis of real-time epidemic data
一文带你了解什么是TypeScript
Less than 10 days before the PMP Exam on July 30, what should be done?
MATLAB基础
General paging function
解决data functions should return an object 并(Property “visible“ must be accessed with “$data.visible“)
UiPath Studio Enterprise 22.4 Crack
YOLOV7
Fastadmin, non super administrator, has been granted batch update permission, but it still shows no permission
Dynamic programming knapsack problem 01 knapsack explanation
快速学会使用文件的权限
SQL156 各个视频的平均完播率
Complete knapsack explanation of dynamic programming knapsack problem