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\binC:\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\binC:\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
>
>
>

 

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

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

高并发与性能优化的神奇之旅

作为公司的架构师或者程序员&#xff0c;你是否曾经为公司的系统在面对高并发和性能瓶颈时感到手足无措或者焦头烂额呢&#xff1f;笔者在出道那会为此是吃尽了苦头的&#xff0c;不过也得感谢这段苦&#xff0c;让笔者从头到尾去探索&#xff0c;找寻解决之法。 目录 第一站…

动手学深度学习(二)线性神经网络

推荐课程&#xff1a;跟李沐学AI的个人空间-跟李沐学AI个人主页-哔哩哔哩视频 回归任务是指对连续变量进行预测的任务。 一、线性回归 线性回归模型是一种常用的统计学习方法&#xff0c;用于分析自变量与因变量之间的关系。它通过建立一个关于自变量和因变量的线性方程&…

Toyota Programming Contest 2023#4(AtCoder Beginner Contest 311)D题题解

文章目录 [Grid Ice Floor](https://atcoder.jp/contests/abc311/tasks/abc311_d)问题建模问题分析1.分析移动时前后两个点之间的联系2.方法1通过BFS将所有按照给定运动方式可以到达的点都标记代码 3.方法2采用DFS来标记路径上的点的运动状态代码 Grid Ice Floor 问题建模 给定…

高并发负载均衡---LVS

目录 前言 一&#xff1a;负载均衡概述 二&#xff1a;为啥负载均衡服务器这么快呢&#xff1f; ​编辑 2.1 七层应用程序慢的原因 2.2 四层负载均衡器LVS快的原因 三&#xff1a;LVS负载均衡器的三种模式 3.1 NAT模式 3.1.1 什么是NAT模式 3.1.2 NAT模式实现LVS的缺点…

springboot+vue网红酒店客房预定系统的设计与实现_ui9bt

随着计算机技术发展&#xff0c;计算机系统的应用已延伸到社会的各个领域&#xff0c;大量基于网络的广泛应用给生活带来了十分的便利。所以把网红酒店预定管理与现在网络相结合&#xff0c;利用计算机搭建网红酒店预定系统&#xff0c;实现网红酒店预定的信息化。则对于进一步…

供水管网漏损监测,24小时保障城市供水安全

供水管网作为城市生命线重要组成部分&#xff0c;其安全运行是城市建设和人民生活的基本保障。随着我国社会经济的快速发展和城市化进程的加快&#xff0c;城市供水管网的建设规模日益增长。然而&#xff0c;由于管网老化、外力破坏和不当维护等因素导致的供水管网漏损&#xf…

电脑连接KONICA MINOLTA(柯尼卡美能达) 打印机及驱动安装

电脑系统&#xff1a;Windows 7 安装的打印机型号&#xff1a;Konica minolta bizhub 363 驱动下载&#xff1a;https://www.konicaminolta.com.cn/support/drivers/index.html 打印机配置好网络 1.打开控制面板&#xff0c;或点击桌面开始&#xff08;WIN&#xff09;&#x…

Webpack5新手入门简单配置

1.初始化项目 yarn init -y 2.安装依赖 yarn add -D webpack5.75.0 webpack-cli5.0.0 3.新建index.js 说明&#xff1a;写入下面的一句话 console.log("hello webpack"); 4.执行命令 说明&#xff1a;如果没有安装webpack脚手架就不能执行yarn webpack&#xff08…

47.Linux学习day01 基础命令详解1(很全面)

目录 一、Linux和Windows的区别 二、Linux系统目录结构 常见目录说明 三、Linux常见的基础命令 1.pwd 2.cd 3.ls 4.man 5. touch 6.mkdir 7. rmdir 今天正式学习了linux的一些基础操作和基础知识&#xff0c;以及linux和windows的区别。 一、Linux和Windows的区…

Your local changes to the following files would be overwritten by checkout

Git 之 Your local changes to the following files would be overwritten by checkout 今天在切换分支时遇到了这样一个问题&#xff1a; 首先翻译下&#xff1a; Your local changes to the following files would be overwritten by checkout 大致意思就是&#xff1a; 当…

HCIP---OSPF的MGRE实验

一、实验要求&#xff1a; 1、R6为ISP只能配置ip地址&#xff0c;R1-5的环回为私有网段 2、R1/4/5为全连的MGRE结构&#xff0c;R1/2/3为星型的拓扑结构&#xff0c;R1为中心站点 3、所有私有网段可以互相通讯&#xff0c;私有网段使用OSPF协议完成 二、实验步骤 &#xf…

Leetcode-每日一题【剑指 Offer 09. 用两个栈实现队列】

题目 用两个栈实现一个队列。队列的声明如下&#xff0c;请实现它的两个函数 appendTail 和 deleteHead &#xff0c;分别完成在队列尾部插入整数和在队列头部删除整数的功能。(若队列中没有元素&#xff0c;deleteHead 操作返回 -1 ) 示例 1&#xff1a; 输入&#xff1a; [&…