首页 > 编程知识 正文

robotarget数据类型,mongodb的开发工具

时间:2023-05-04 04:59:25 阅读:148693 作者:2285

目录

Robomongo下载

Robomongo使用的

本文导读

1、本文承担《MongoDB 下载_安装_配置 及 启动与连接》、《MongoDB 数据库_集合_文档 操作》

2、与Mysql数据库类似,SQL语句有助于学习和理解,但在实际开发中不需要完全从命令行进行命令操作。 因此,Mysql的可视化工具有各种各样。 同样也有很多MongoDB,这里介绍简单、绿色的Robomongo

Robomongo下载1、Robomongo官方网站地址: https://robomongo.org/————选择右侧的Robo 3T

2、Robomongo下载地址: https://robomongo.org/download

Robomongo使用1、要首先验证MongoDB数据库是否正常运行,请参见《MongoDB 下载_安装_配置 及 启动与连接》

2、如下成功启动MongoDB数据库,连接端口为27017

c :usersadministrator.sc-201707281232 mongod-- db path=d : MongoDB data 2018-09-11t 1633605:27.5120800 I control [ main ] automaticallydisablingtls 1.0, o force-enable TLS 1.0 specify---- ssldisabledprotocols ' none ' 2018-09-11t 1633605336028.6800800 I control [ initandlitandllllistion MongoDB starting 3360 PID=18468 port=27017 dbpath=d :MongoDB data 64-bithost=sc-2017072812322018-09-11t 1633605336028.6800800 I control [ initandlisten ] target Minos 3360 windows7windows server 2008 r 22018-09-11t 1633605336028.6810800 I control [ initandlisten ] dbversionv4.0.2- RC 02018-09-11t 1633605336028.6810800 I control [ initandlisten ] git version : fc 1573 ba 18 aee 42 f 97 a3 bb 13 b67 af 7d 837826 b 472018-09-11t 1633605336028.6820800 I control [ initandlisten ] allocator : TC malloc 2018-09-11t 1633605336028.6820800 I control [ initandlisten ] modules : none 2018-09-11t 1633605:28.6820800 I control [ initandlisten ] build environment 33602018-09-111t 16:536053360600 dist mod :2008 plus-SSL 2018-09-11t 1633605336028.6830800 I control [ initandlisten ] distarch : x 86 _ 642018-09-11t 1633605336028.6830800 I control [ initandlisten ] target _ arch : x 86 _ 642018-09-11t 1633605336028.6830800 I control [ initandlisten ] options : { storage 3360 } dbase 2018-09-11t 1633605336028.7280800 istorage [ initandlisten ] detecteddatafilesind 3360MongoDBdatacreatedbythe ' wired osettingtheactivestorageengineto ' wired tiger '.2018-09-11t 1633605336028.7280800 istorage [ initandlisten ] wired tiger cache_size=3552M,session_max=20000,eviction=(threads_max=4,threads_min=4,threads )

),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),2018-09-11T16:53:29.241+0800 I STORAGE [initandlisten] WiredTiger message [1536656009:241353][18468:140730388790352], txn-recover: Main recovery loop: starting at 1/4564482018-09-11T16:53:29.372+0800 I STORAGE [initandlisten] WiredTiger message [1536656009:372296][18468:140730388790352], txn-recover: Recovering log 1 through 22018-09-11T16:53:29.497+0800 I STORAGE [initandlisten] WiredTiger message [1536656009:496452][18468:140730388790352], txn-recover: Recovering log 2 through 22018-09-11T16:53:29.571+0800 I STORAGE [initandlisten] WiredTiger message [1536656009:571411][18468:140730388790352], txn-recover: Set global recovery timestamp: 02018-09-11T16:53:29.939+0800 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)2018-09-11T16:53:30.639+0800 I CONTROL [initandlisten]2018-09-11T16:53:30.640+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.2018-09-11T16:53:30.642+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.2018-09-11T16:53:30.643+0800 I CONTROL [initandlisten]2018-09-11T16:53:30.647+0800 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.2018-09-11T16:53:30.648+0800 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.2018-09-11T16:53:30.649+0800 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP2018-09-11T16:53:30.649+0800 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to2018-09-11T16:53:30.652+0800 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the2018-09-11T16:53:30.653+0800 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.2018-09-11T16:53:30.654+0800 I CONTROL [initandlisten]2018-09-11T16:53:32.894+0800 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory 'D:/MongoDB/Data/diagnostic.data'2018-09-11T16:53:32.896+0800 I NETWORK [initandlisten] waiting for connections on port 270172018-09-11T16:55:12.398+0800 I NETWORK [listener] connection accepted from 127.0.0.1:10531 #1 (1 connection now open)2018-09-11T16:55:12.398+0800 I NETWORK [conn1] received client metadata from 127.0.0.1:10531 conn1: { application: { name: "robo3t" }, driver: { name: "MongoDB Internal Client", version: "3.4.3-10-g865d2fb" }, os: { type: "Windows", name: "Microsoft Windows 8", architecture: "x86_64", version: "6.2 (build 9200)" } }2018-09-11T16:55:12.452+0800 I NETWORK [listener] connection accepted from 127.0.0.1:10532 #2 (2 connections now open)2018-09-11T16:55:12.462+0800 I NETWORK [conn2] received client metadata from 127.0.0.1:10532 conn2: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.3-10-g865d2fb" }, os: { type: "Windows", name: "Microsoft Windows 8", architecture: "x86_64", version: "6.2 (build 9200)" } }.......

如下所示 与 mongoDB 客户端 操作的结果是一样的,介绍至此!

> show dbsadmin 0.000GBconfig 0.000GBlocal 0.000GBmydb1 0.000GB> use mydb1switched to db mydb1> show tablesc1c2c3> db.c3.find(){ "_id" : ObjectId("5b9760b79f148825ca955d13"), "name" : "zhangSan_cool", "age" : 28, "desc" : "hello world" }{ "_id" : ObjectId("5b9760c39f148825ca955d14"), "name" : "liSi", "age" : 25, "desc" : "hello world" }{ "_id" : ObjectId("5b9760cb9f148825ca955d15"), "name" : "wangWu", "age" : 26, "desc" : "hello world" }{ "_id" : ObjectId("5b9760d29f148825ca955d16"), "name" : "zhaoLiu", "age" : 25, "desc" : "hello world" }{ "_id" : ObjectId("5b9760e59f148825ca955d17"), "name" : "maQi", "age" : 27, "desc" : "hello world" }{ "_id" : ObjectId("5b976615c8ed70d9c9af79b7"), "price" : 7000, "desc" : "hello world" }>

 

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。