首页  软件  游戏  图书  电影  电视剧

请输入您要查询的软件:

 

软件 mongodb可视化工具(Robomongo) 1.1.1 Robo 3T 官方版
内容
    RockMongo是一个MongoDB管理工具,连接数据库的时候,输入 相应的地址用户名和密码就好了。点击连接。通过 Rockmongo 你可以管理 MongoDB服务,数据库,集合,文档,索引等等。
    它提供了非常人性化的操作。类似 phpMyAdmin(PHP开发的MySql管理工具)。
    安装需求
    一个能运行PHP的Web服务器,比如Apache Httpd, Nginx ...
    PHP - 需要PHP v5.1.6或更高版本,需要支持SESSION
    为了能连接MongoDB,你需要安装php_mongo扩展
    快速安装
    下载安装包,快速安装。
    用编辑器打开config.php,修改host, port, admins等参数
    在浏览器中访问index.php,比如说:http://localhost/rockmongo/index.php
    使用用户名和密码登录,默认为"admin"和"admin"
    开始玩转MongoDB!
    创建数据库文件的存放位置
    在你安装MongoDB的bin 目录下打开cmd, 输入:mongod 回车启动服务。会看到:
    Hotfix KB2731284 or later update is not installed.  以及 C:datadb not found 的字样。
    这就涉及到了两个问题了。先说第2个。
    MongoDB默认数据库文件夹路径为C:/data/db(注:虽然是默认,但是需要你自己创建)。但也可以自己设置默认路径,比如d:/test/data/db。启动mongodb服务之前必须创建数据库文件的存放文件夹,否则不能启动成功。使用系统默认文件夹路径时,启动服务无需加 --dbpath 参数说明。如果不是默认路径,则启动服务格式有如下两种:
    (1)mongod --dbpath 存放的路径。如:mongod --dbpath d:testdata 【注:路径不能包含空格,否则使用第2种】
    (2)mongod --dbpath "存放的路径" 。如 mongod --dbpath "d:my textdata"
    Robomongo连接远程mongodb服务
    mongodb可视化工具(Robomongo)截图
    mongodb可视化工具(Robomongo)截图
    备份还原数据库
    备份
    mondump -o ./ #导出到当前路径
    恢复
    mongorestore /home/zhangy/mongodb/ #这里的路径是所有库的备份路径
    Robomongo is now Robo 3T, with support for MongoDB 3.4, new data type NumberDecimal (Decimal128) and ECMAScript 2015 (ES6)
    In this release, we have some fundamental changes such as MongoDB 3.4 support, new data type NumberDecimal support and ECMAScript 2015 (ES6) support. Fix for popular shell timeout problem (and shell timeout is configurable on UI now). Stability improvement: Fix to prevent an on-launch crash on macOS Sierra. Security improvement: OpenSSL upgraded to version openssl-1.0.1u (22-Sep-2016). Tool chain upgrades: Modern C++14 features are enabled and usable by developers.
    robomongo 怎么导出数据
    数据导出:先举个例子作为切入口:
    需求:
    将test数据库下的things集合中的所有文档导出到D:mongo_data路径下
    D:mongobin>mongoexport -d test -c things -o d:mongo_datathings.txt
    cmd控制台返回导出的相关信息,如下所示
    connected to: 127.0.0.1
    exported 15 records
    检验一下:
    去D:mongo_data找一下是否存在things.txt文件
    打开D:mongo_datathings.txt显示如下:
    { "_id" : 3 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55de" }, "x" : 6, "y" : 0 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55df" }, "x" : 6, "y" : 1 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e0" }, "x" : 6, "y" : 2 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e1" }, "x" : 6, "y" : 3 }
    {
     "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e2" }, "add" : [ { "age" : 
    21, "name" : "jimvin" }, { "age" : 22, "name" : "jimvin" }, { "age" : 
    23, "name" : "jimvin" }, { "age" : 23, "name" : "jimvin" } ], "x" : 6, 
    "y" : 4 }
    { &qu缉伐光和叱古癸汰含咯ot;_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e3" }, "num" : 55, "x" : 6, "y" : 5 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e4" }, "age" : null, "num" : null, "......余下全文>>
    ;x" : 6, "y" : 6 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e5" }, "add" : [ "jimvin", "abc", "aaa" ], "num" : "abc", "x" : 6, "y" : 7 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e6" }, "age" : [ 7, 9 ], "name" : "jimvin", "num" : 20, "x" : 6, "y" : 8 }
    { "_id" : { "$oid" : "528ec3042e2ec9f2c3cd55e7" }, "age" : [ 7, 8, 9 ], "name" : "tom", "x" : 10, "y" : 9 }
    { "_id" : { "$oid" : "5296e6d68378a9afba69af46" }, "add" : { "age" : 20, "name" : "jimvin" }, "name" : "jim", "num" : 10 }
    { "_id" : { "$oid" : "529eab9552bf5eb74acdb35b" }, "name" : "person1", "addr" : { "city" : "a", "state" : "d" } }
    { "_id" : { "$oid" : "529eaba252bf5eb74acdb35c" }, "name" : "person1", "addr" : { "city" : "b", "state" : "c" } }
    { "_id" : { "$oid" : "529eabc352bf5eb74acdb35d" }, "name" : "person1", "addr" : { "city" : "a", "state" : "e" } }
    从例子我们基本都能猜出 mongoexport的命令用法,下面我们再详细分析一下:
    * mongoexport --db
     简写 mongoexport -d
     指定要导出集合所在的数据库
     eg:
     D:mongobin>mongoexport --db test
     或 D:mongobin>mongoexport -d test
     或 D:mongobin>mongoexport -db test
     注意:
标签 mongodb
缩略图
软件名称 mongodb可视化工具(Robomongo)
软件图标
软件大小 11.2MB
发布时间
软件平台
软件语言 简体中文
软件授权 免费软件
操作系统 Win All
系统类型
用户评分
软件版本 1.1.1 Robo 3T 官方版
官方网站
官方网址
软件截图
软件总类 电脑软件
软件大类 PC软件-编程软件-数据库类
软件小类
开发者
主办单位名称
ICP备案名
备案号
使用年龄
下载链接
攻略教程
详细介绍
操控设备
隐私政策
查看权限
敏感权限获取说明
软件类型 国产软件
安全警示 适度休息有益身心健康,请勿长期沉迷于使用电脑或刷手机。
随便看

 

传承兰台文化,共同保存历史记忆!兰台网收藏软件、游戏、图片、图书、电影、电视剧等互联网档案,是免费和可借阅文本、电影、音乐等档案的数字图书馆。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/4 23:16:30