当前位置:网站首页>MongoDB-在windows电脑本地安装一个mongodb的数据库
MongoDB-在windows电脑本地安装一个mongodb的数据库
2022-06-27 21:35:00 【小博测试成长之路】
1
安装包下载
windows下mongodb安装包的下载地址:
https://www.mongodb.com/try/download/community

也可以直接点击下面的地址下载:
https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.9-signed.msi
2
windows系统安装mongodb
下载好安装包后,双击msi文件启动安装,安装过程中截图如下:(一般直接点击下一步按钮就行)

看到Next按钮就点就可以

一般下图中选择Complete,安装完整的功能


注意:安装前,服务列表是没有MongoDB的服务名的:

下面这个复选框可按需选择,选择后,会安装一个叫MongoDB Compass的GUI工具,功能类似navicat的那种。这里也可以不勾选,到时候自己去单独下安装包进行安装。



安装完成后,服务列表多出了一个Mongo的服务。并且这个服务状态为启动状态。(如果状态没启动,则手动启动,否则肯定连接不上)

到这里,mongo数据库就安装好了,默认没有设置用户名和密码认证。
3
使用工具连接MongoDB
接下来,介绍几款工具连接mongodb的:
一、MongoDB Compass
下载地址:https://www.mongodb.com/try/download/compass
安装后,打开软件,输入ip和端口连接即可。
如果有涉及到要输入账号密码认证或者通过ssl代理进行连接的,可以切换到对应的页签补充录入相关信息即可。

工具优点:
1、在只知道表名不知道数据库名称的情况下,可以输入表名直接进行搜索。

2、可以导出数据(有部分工具导出功能需要付费开通权限)
3、可以生成对应编程语言的代码案例

二、Robo 3T/Studio 3T
这两个工具一个是免费版本,可以商用,一个是付费的专业版,未购买不能商用。前者是免费的版本。
1、Robo 3T
下载地址:
https://github.com/Studio3T/robomongo/releases/download/v1.4.4/robo3t-1.4.4-windows-x86_64-e6ac9ec5.exe
robo3t官网地址:https://robomongo.org/
优点:免费
缺点:
1、免费版导出不了数据
2、批量执行改数据脚本的时候,很容易卡死
3、如果电脑网络中断后再重连网络时,工具要关掉重连
2、Studio 3T
studio 3t官网地址:https://studio3t.com/
下载地址:https://download.studio3t.com/studio-3t/windows/2022.6.0/studio-3t-x64.zip
缺点:非要说缺点的话,那就是收费
三、NoSQLBooster
下载地址:https://nosqlbooster.com/home
缺点:付费购买后解锁其他权限,免费版没有导出权限
优点:脚本调试什么的还是比较方便,功能也还比较强大,我觉得仅次于Studio3T
如果大家有用到其他更好用的工具,也可以介绍给我喔。
边栏推荐
- Const keyword and its function (usage), detailed explanation of C language const
- MySQL read / write separation configuration
- 安全省油环保 骆驼AGM启停电池魅力十足
- [AI application] detailed parameters of NVIDIA geforce RTX 3060
- 超纲练习题不超纲
- 用两个栈实现队列[两次先进后出便是先进先出]
- Detailed explanation of MATLAB axis coordinate axis related settings
- 零基础自学SQL课程 | IF函数
- Sentinel
- Google Earth engine (GEE) 03 vector data type
猜你喜欢
Does the subscription of Siyuan notes stop deleting cloud data directly?

Excel print settings public header
![[try to hack] kill evaluation](/img/93/e623e25dc4dec1f656227c7651577e.png)
[try to hack] kill evaluation

Zero foundation self-study SQL course | complete collection of date functions in SQL

ASP.NET仓库进销存ERP管理系统源码 ERP小程序源码

吴恩达《机器学习》课程总结(14)_降维

Structure de stockage des graphiques

【tinyriscv verilator】分支移植到正点原子达芬奇开发板

Halcon's region: features of multiple regions (6)

Webserver flow chart -- understand the calling relationship between webserver modules
随机推荐
线程池实现:信号量也可以理解成小等待队列
Is not null and in SQL= Difference between null
Cornernet由浅入深理解
Sécurité, économie de carburant et protection de l'environnement chameau
VMware virtual machine bridging connectivity
抓出那些重复的基因
Feign implements path escape through custom annotations
【AI应用】NVIDIA Tesla V100S-PCIE-32GB的详情参数
Zero foundation self-study SQL course | if function
Google Earth engine (GEE) 03 vector data type
什么是cookie,以及v-htm的安全性隐患
浙江大学课程攻略共享计划
How to use raspberry pie (and all kinds of pies)
[try to hack] kill evaluation
[AI application] detailed parameters of NVIDIA Tesla v100s-pcie-32gb
mysql 字符集
虽然TCGA数据库有33种癌症
Msp430f5529 MCU reads gy-906 infrared temperature sensor
Pat class B 1013
flutter系列之:flutter中的变形金刚Transform