安装Robo 3T(Robomongo)MongoDB可视化工具

来源:互联网 发布:anywhere远程桌面软件 编辑:程序博客网 时间:2024/06/06 02:59

没有一个可视化工具还是不太方便……所以安装一个
Robo 3T 官方下载链接
下载好的tar.gz文件

tar -xzf robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gzcd robo3t-1.1.1-linux-x86_64-c93c6b0/bin./robo3t

这里写图片描述
点击create ,默认链接,save
然后connect
这里写图片描述
testdb是已经创建的数据库,见同类别中在自己的C++工程链接MongoDB 数据库并插入文档 博客
testcollection是这个testdb数据库中的collection(我暂时理解为表)
其中有8条记录(暂时理解为记录,其实应该是对象吧)。

如果出现以下问题

This application failed to start because it could not find or load the Qt platform plugin "xcb"in "".Available platform plugins are: xcb.Reinstalling the application may fix this problem. Aborted (core dumped)

解决方法

mkdir ~/robo-backupmv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t

~/指 /root

转自https://www.cnblogs.com/hexin0614/p/7487191.html

原创粉丝点击