当前位置:网站首页>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
如果大家有用到其他更好用的工具,也可以介绍给我喔。
边栏推荐
- C language character pointer and string initialization
- SQL报了一个不常见的错误,让新来的实习生懵了
- 如何找到外文文献对应的中文文献?
- const关键字及其作用(用法),C语言const详解
- Mise en œuvre du pool de Threads: les sémaphores peuvent également être considérés comme de petites files d'attente
- 【AI应用】Jetson Xavier NX的详情参数
- N methods for obtaining effective length of genes
- Is it safe to open a stock account through the account opening QR code of CICC securities manager? Or is it safe to open an account in a securities company?
- Grab those duplicate genes
- VMware virtual machine bridging connectivity
猜你喜欢

【论文阅读|深读】SDNE:Structural Deep Network Embedding

吴恩达《机器学习》课程总结(11)_支持向量机

Sell notes | brief introduction to video text pre training
![[PCL self study: segmentation4] point cloud segmentation based on Min cut](/img/af/a6c5abf357c1db0718df505499df70.png)
[PCL self study: segmentation4] point cloud segmentation based on Min cut

撰写外文时怎样引用中文文献?

零基础自学SQL课程 | SQL基本函数大全

Sentinel

【Try to Hack】veil-evasion免杀

halcon之区域:多种区域(Region)特征(6)

MySQL enterprise parameter tuning practice sharing
随机推荐
An analysis of C language functions
golang使用mongo-driver操作——查(基础)
Zero foundation self-study SQL course | complete collection of SQL basic functions
MYSQL的下载与配置安装
N methods for obtaining effective length of genes
Use of go log package log
证券注册账户安全吗,会有风险吗?
apipost脚本使用讲解一~全局变量
Grab those duplicate genes
【PCL自学:Segmentation3】基于PCL的点云分割:区域增长分割
Cornernet由浅入深理解
Is it safe for Huatai Securities to open an account online?
Golang uses Mongo driver operation -- Query (array related)
Although the TCGA database has 33 cancers
seata
Webserver flow chart -- understand the calling relationship between webserver modules
【PCL自学:PCLPlotter】PCLPlotter绘制数据分析图
What if Fiddler fails to listen to the interface
Super outline exercises
[sword finger offer] 48 Longest substring without duplicate characters