mongodb-win32-x86_64-2008plus-ssl-3.6.23-signed.msi

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>cd C:\MongoDB\Server\3.6\bin

C:\MongoDB\Server\3.6\bin>
C:\MongoDB\Server\3.6\bin>
C:\MongoDB\Server\3.6\bin>mongod --dbpath C:\MongoDB\Server\3.6\data\db --logpath C:\MongoDB\Server\3.6\data\log --logappend
2023-08-05T10:35:55.658+0800 F CONTROL  [main] Failed global initialization: FileNotOpen: logpath "C:\MongoDB\Server\3.6\data\log" should name a file, not a directory.

C:\MongoDB\Server\3.6\bin>mongod --dbpath C:\MongoDB\Server\3.6\data\db --logpath C:\MongoDB\Server\3.6\data\log\log.txt --logappend

2023-08-05T10:36:29.398+0800 I CONTROL  [initandlisten] MongoDB starting : pid=2504 port=27017 dbpath=C:\MongoDB\Server\3.6\data\db 64-bit host=USER-20211009IT
2023-08-05T10:36:29.398+0800 I CONTROL  [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] db version v3.6.23
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] git version: d352e6a4764659e0d0350ce77279de3c1f243e5c
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.2s-fips  28 May 2019
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] modules: none
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] build environment:
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten]     distmod: 2008plus-ssl
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten]     distarch: x86_64
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2023-08-05T10:36:29.399+0800 I CONTROL  [initandlisten] options: { storage: { dbPath: "C:\MongoDB\Server\3.6\data\db" }, systemLog: { destination: "file", logAppend: true, path: "C:\MongoDB\Server\3.6\data\log\log.txt" } }
2023-08-05T10:36:29.448+0800 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=1535M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2023-08-05T10:36:29.548+0800 I STORAGE  [initandlisten] WiredTiger message [1691202989:548588][2504:1991586816], txn-recover: Set global recovery timestamp: 0
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] 
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] 
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server. 
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] **          Start the server with --bind_ip <address> to specify which IP 
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] **          addresses it should serve responses from, or with --bind_ip_all to
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] **          bind to all interfaces. If this behavior is desired, start the
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] **          server with --bind_ip 127.0.0.1 to disable this warning.
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] 
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files.
2023-08-05T10:36:29.667+0800 I CONTROL  [initandlisten] 
2023-08-05T10:36:29.727+0800 I STORAGE  [initandlisten] createCollection: admin.system.version with provided UUID: 31d6d754-8c05-4815-8963-e2d01c002d54
2023-08-05T10:36:29.822+0800 I COMMAND  [initandlisten] setting featureCompatibilityVersion to 3.6
2023-08-05T10:36:29.867+0800 I STORAGE  [initandlisten] createCollection: local.startup_log with generated UUID: f8158fb0-3927-45ed-9431-bdd0ef46553a
2023-08-05T10:36:31.172+0800 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory 'C:/MongoDB/Server/3.6/data/db/diagnostic.data'
2023-08-05T10:36:31.174+0800 I NETWORK  [initandlisten] listening via socket bound to 127.0.0.1
2023-08-05T10:36:31.174+0800 I NETWORK  [initandlisten] waiting for connections on port 27017
2023-08-05T10:36:31.174+0800 I STORAGE  [LogicalSessionCacheRefresh] createCollection: config.system.sessions with generated UUID: 248b146c-31f8-4d71-8612-58e87292341a
2023-08-05T10:36:31.262+0800 I INDEX    [LogicalSessionCacheRefresh] build index on: config.system.sessions properties: { v: 2, key: { lastUse: 1 }, name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 }
2023-08-05T10:36:31.262+0800 I INDEX    [LogicalSessionCacheRefresh] 	 building index using bulk method; build may temporarily use up to 500 megabytes of RAM
2023-08-05T10:36:31.265+0800 I INDEX    [LogicalSessionCacheRefresh] build index done.  scanned 0 total records. 0 secs
2023-08-05T10:38:32.966+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61740 #1 (1 connection now open)
2023-08-05T10:38:32.967+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61741 #2 (2 connections now open)
2023-08-05T10:38:33.222+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61742 #3 (3 connections now open)
2023-08-05T10:38:33.674+0800 I NETWORK  [conn1] Error receiving request from client: ProtocolError: Client sent an HTTP request over a native MongoDB connection. Ending connection from 127.0.0.1:61740 (connection id: 1)
2023-08-05T10:38:33.674+0800 I NETWORK  [conn1] end connection 127.0.0.1:61740 (2 connections now open)
2023-08-05T10:38:42.081+0800 I NETWORK  [conn2] Error receiving request from client: ProtocolError: Client sent an HTTP request over a native MongoDB connection. Ending connection from 127.0.0.1:61741 (connection id: 2)
2023-08-05T10:38:42.081+0800 I NETWORK  [conn2] end connection 127.0.0.1:61741 (1 connection now open)
2023-08-05T10:38:42.084+0800 I NETWORK  [conn3] Error receiving request from client: ProtocolError: Client sent an HTTP request over a native MongoDB connection. Ending connection from 127.0.0.1:61742 (connection id: 3)
2023-08-05T10:38:42.084+0800 I NETWORK  [conn3] end connection 127.0.0.1:61742 (0 connections now open)
2023-08-05T10:38:42.390+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61778 #4 (1 connection now open)
2023-08-05T10:38:42.391+0800 I NETWORK  [conn4] Error receiving request from client: ProtocolError: Client sent an HTTP request over a native MongoDB connection. Ending connection from 127.0.0.1:61778 (connection id: 4)
2023-08-05T10:38:42.391+0800 I NETWORK  [conn4] end connection 127.0.0.1:61778 (0 connections now open)
2023-08-05T10:38:42.646+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61779 #5 (1 connection now open)
2023-08-05T10:38:47.995+0800 I NETWORK  [conn5] Error receiving request from client: ProtocolError: Client sent an HTTP request over a native MongoDB connection. Ending connection from 127.0.0.1:61779 (connection id: 5)
2023-08-05T10:38:47.995+0800 I NETWORK  [conn5] end connection 127.0.0.1:61779 (0 connections now open)
2023-08-05T10:38:48.302+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61788 #6 (1 connection now open)
2023-08-05T10:38:48.303+0800 I NETWORK  [conn6] Error receiving request from client: ProtocolError: Client sent an HTTP request over a native MongoDB connection. Ending connection from 127.0.0.1:61788 (connection id: 6)
2023-08-05T10:38:48.303+0800 I NETWORK  [conn6] end connection 127.0.0.1:61788 (0 connections now open)
2023-08-05T10:38:48.562+0800 I NETWORK  [listener] connection accepted from 127.0.0.1:61789 #7 (1 connection now open)
2023-08-05T10:40:04.717+0800 I NETWORK  [conn7] end connection 127.0.0.1:61789 (0 connections now open)

 It looks like you are trying to access MongoDB over HTTP on the native driver port.

虽然有上面的警告,其实已经可以了

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>cd C:\MongoDB\Server\3.6\bin

C:\MongoDB\Server\3.6\bin>
C:\MongoDB\Server\3.6\bin>
C:\MongoDB\Server\3.6\bin>mongo
MongoDB shell version v3.6.23
connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("92d9f81a-f168-413d-b5e3-3946a58b4ca6") }
MongoDB server version: 3.6.23
Server has startup warnings:
2023-08-05T13:24:56.273+0800 I CONTROL  [initandlisten]
2023-08-05T13:24:56.273+0800 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2023-08-05T13:24:56.273+0800 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2023-08-05T13:24:56.273+0800 I CONTROL  [initandlisten]
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] ** WARNING: This server is bound to localhost.
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] **          Remote systems will be unable to connect to this server.
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] **          Start the server with --bind_ip <address> to specify which IP
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] **          addresses it should serve responses from, or with --bind_ip_all to
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] **          bind to all interfaces. If this behavior is desired, start the
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] **          server with --bind_ip 127.0.0.1 to disable this warning.
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten]
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files.
2023-08-05T13:24:56.274+0800 I CONTROL  [initandlisten]
>
> db
test
>
>
> 1+2>
...
... ^C

> 1+2
3
>
>
>

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/61596.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

使用Golang实现一套流程可配置,适用于广告、推荐系统的业务性框架——简单应用

在诸如广告、推荐等系统中&#xff0c;我们往往会涉及过滤、召回和排序等过程。随着系统业务变得复杂&#xff0c;代码的耦合和交错会让项目跌入难以维护的深渊。于是模块化设计是复杂系统的必备基础。这篇文章介绍的业务框架脱胎于线上多人协作开发、高并发的竞价广告系统&…

stl_list类(使用+实现)(C++)

list 一、list-简单介绍二、list的常用接口1.常见构造2.iterator的使用3.Capacity和Element access4.Modifiers5.list的迭代器失效 三、list实现四、vector 和 list 对比五、迭代器1.迭代器的实现2.迭代器的分类&#xff08;按照功能分类&#xff09;3.反向迭代器(1)、包装逻辑…

Rust中的高吞吐量流处理

本篇文章主要介绍了Rust中流处理的概念、方法和优化。作者不仅介绍了流处理的基本概念以及Rust中常用的流处理库&#xff0c;还使用这些库实现了一个流处理程序。 最后&#xff0c;作者介绍了如何通过测量空闲和阻塞时间来优化流处理程序的性能&#xff0c;并将这些内容同步至…

Stephen Wolfram:嵌入的概念

The Concept of Embeddings 嵌入的概念 Neural nets—at least as they’re currently set up—are fundamentally based on numbers. So if we’re going to to use them to work on something like text we’ll need a way to represent our text with numbers. And certain…

快速实现一个div的水平垂直居中

效果 实现 给父盒子宽高和flex&#xff0c;子盒子margin&#xff1a;auto 代码 <!DOCTYPE html> <html lang"en"><head><meta charset"UTF-8"><meta name"viewport" content"widthdevice-width, initial-sc…

No112.精选前端面试题,享受每天的挑战和学习

文章目录 说一说JavaScript有几种方法判断变量的类型&#xff1f;说一说defer和async区别&#xff1f;HTTP&#xff08;超文本传输协议&#xff09;是什么&#xff1f;说一下浏览器输入URL发生了什么&#xff1f;一只青蛙一次可以跳上1级台阶&#xff0c;也可以跳上2级。求该青…

rest api client code generator

一、搜索&#xff1a;REST API Client Code Generator 二、 安装成功后 配置java环境和node环境

软件使用 | jupyter notebook 使用技巧大全

本文记录使用 jupyter notebook 的使用方法。 更新&#xff1a;2023 / 8 / 6 软件使用 | jupyter notebook 使用技巧大全 图片表格参考链接 图片 插入图片并控制大小和对其方式 1: <img src"https://www.domain.com/image_file_name.jpg" alt"ImageFile&…

MFC第二十八天 WM_SIZE应用,CFrameWnd类LoadFrame的方法,PreCreateWindow窗口预处理,Frame-view窗口视图

文章目录 WM_SIZE应用通过WM_SIZE消息实现窗口布局管理通过控件属性实现窗口布局管理 CFrameWnd类CFrameWnd类简介OnCreate和OnCreateClient的方法注册时的要素与窗口设置PreCreateWindow创建窗口的预处理函数 附录预处理函数的结构体CFrameWnd::LoadFrame与CreateFrame WM_SIZ…

程序环境和预处理(含C语言程序的编译+链接)--2

文章前言&#xff1a; 上章我们把 程序的翻译环境 程序的执行环境 C语言程序的编译链接 预定义符号介绍 预处理指令 #define 宏和函数的对比 预处理操作符 #和##的介绍 的相关知识进行了梳理讲解&#xff0c;接下来被把剩余知识 命令定义 …

机器学习:训练集与测试集分割train_test_split

1 引言 在使用机器学习训练模型算法的过程中&#xff0c;为提高模型的泛化能力、防止过拟合等目的&#xff0c;需要将整体数据划分为训练集和测试集两部分&#xff0c;训练集用于模型训练&#xff0c;测试集用于模型的验证。此时&#xff0c;使用train_test_split函数可便捷高…

数字孪生的「三张皮」问题:数据隐私、安全与伦理挑战

引言 随着数字化时代的来临&#xff0c;数据成为了当今社会的宝贵资源。然而&#xff0c;数据的广泛使用也带来了一系列隐私、安全与伦理挑战。数字孪生作为一种虚拟的数字化实体&#xff0c;通过收集和分析大量数据&#xff0c;模拟和预测现实世界中的各种情境&#xff0c;为…

【Jenkins】Jenkins 安装

Jenkins 安装 文章目录 Jenkins 安装一、安装JDK二、安装jenkins三、访问 Jenkins 初始化页面 Jenkins官网地址&#xff1a;https://www.jenkins.io/zh/download/ JDK下载地址&#xff1a;https://www.oracle.com/java/technologies/downloads/ 清华源下载RPM包地址&#xff…

简单认识ELK日志分析系统

一. ELK日志分析系统概述 1.ELK 简介 ELK平台是一套完整的日志集中处理解决方案&#xff0c;将 ElasticSearch、Logstash 和 Kiabana 三个开源工具配合使用&#xff0c; 完成更强大的用户对日志的查询、排序、统计需求。 好处&#xff1a; &#xff08;1&#xff09;提高安全…

【每天40分钟,我们一起用50天刷完 (剑指Offer)】第四十八天 48/50【字符串处理】【最低公共祖先】

专注 效率 记忆 预习 笔记 复习 做题 欢迎观看我的博客&#xff0c;如有问题交流&#xff0c;欢迎评论区留言&#xff0c;一定尽快回复&#xff01;&#xff08;大家可以去看我的专栏&#xff0c;是所有文章的目录&#xff09;   文章字体风格&#xff1a; 红色文字表示&#…

DQN原理和代码实现

参考&#xff1a;王树森《强化学习》书籍、课程、代码 1、基本概念 折扣回报&#xff1a; U t R t γ ⋅ R t 1 γ 2 ⋅ R t 2 ⋯ γ n − t ⋅ R n . U_tR_t\gamma\cdot R_{t1}\gamma^2\cdot R_{t2}\cdots\gamma^{n-t}\cdot R_n. Ut​Rt​γ⋅Rt1​γ2⋅Rt2​⋯γn−…

基于 APN 的 CXL 链路训练

&#x1f525;点击查看精选 CXL 系列文章&#x1f525; &#x1f525;点击进入【芯片设计验证】社区&#xff0c;查看更多精彩内容&#x1f525; &#x1f4e2; 声明&#xff1a; &#x1f96d; 作者主页&#xff1a;【MangoPapa的CSDN主页】。⚠️ 本文首发于CSDN&#xff0c…

Dockerfile构建mysql

使用dockerfile构建mysql详细教学加案例 Dockerfile 文件 # 使用官方5.6版本&#xff0c;latest为默认版本 FROM mysql:5.6 #复制my.cof至容器内 ADD my.cnf /etc/mysql/my.cof #设置环境变量 密码 ENV MYSQL_ROOT_PASSWORD123456my.cof 文件 [mysqld] character-set-server…

LNMP搭建

LNMP&#xff1a;目前成熟的企业网站的应用模式之一&#xff0c;指的是一套协同工作的系统和相关软件 能够提供静态页面服务&#xff0c;也可以提供动态web服务。 这是一个缩写 L linux系统&#xff0c;操作系统。 N nginx网站服务&#xff0c;也可也理解为前端&#xff0c…

企业计算机服务器中了locked勒索病毒怎么办,如何预防勒索病毒攻击

计算机服务器是企业的关键信息基础设备&#xff0c;随着计算机技术的不断发展&#xff0c;企业的计算机服务器也成为了众多勒索者的攻击目标&#xff0c;勒索病毒成为当下计算机服务器的主要攻击目标。近期&#xff0c;我们收到很多企业的求助&#xff0c;企业的服务器被locked…