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.mzph.cn/news/24749.shtml

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

相关文章

c语言每日一练(2)

前言&#xff1a; 每日一练系列&#xff0c;每一期都包含5道选择题&#xff0c;2道编程题&#xff0c;博主会尽可能详细地进行讲解&#xff0c;令初学者也能听的清晰。每日一练系列会持续更新&#xff0c;暑假时三天之内必有一更&#xff0c;到了开学之后&#xff0c;将看学业情…

Nginx启动报错- Failed to start The nginx HTTP and reverse proxy server

根据日志&#xff0c;仍然出现 “bind() to 0.0.0.0:8888 failed (13: Permission denied)” 错误。这意味着 Nginx 仍然无法绑定到 8888 端口&#xff0c;即使使用 root 权限。 请执行以下操作来进一步排查问题&#xff1a; 确保没有其他进程占用 8888 端口&#xff1a;使用以…

python#django数据库一对一/一对多/多对多

一对一OneToOneField 用户和用户信息 搭建 # 一对一 class TestUser(models.Model): usernamemodels.CharField(max_length32) password models.CharField(max_length32) class TestInfo(models.Model): mick_namemodels.CharField(max_length32) usermode…

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

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

leaflet-uniapp 缩放地图的同时 显示当前缩放层级

记录实现过程&#xff1a; 需求为移动端用户在使用地图时&#xff0c;缩放地图的同时&#xff0c;可以获知地图此时缩放的级别。 效果图如下&#xff1a;此时缩放地图级别为13 map.on() 有对应的诸多行为 查看官网即可&#xff0c;这里根据需要为--zoomstart zoom zoomend 代…

Crowd-Robot Interaction 论文阅读

论文信息 题目&#xff1a;Crowd-Robot Interaction:Crowd-aware Robot Navigation with Attention-based Deep Reinforcement Learning 作者&#xff1a;Changan Chen, Y uejiang Liu 代码地址&#xff1a;https://github.com/vita-epfl/CrowdNav 来源&#xff1a;arXiv 时间…

【Linux】网络套接字知识点补足

目录 1 地址转换函数 1.1 字符串转in_addr的函数: 1.2 in_addr转字符串的函数: 1.3 关于inet_ntoa 2 TCP协议通讯流程 1 地址转换函数 本节只介绍基于IPv4的socket网络编程,sockaddr_in中的成员struct in_addr sin_addr表示32位 的IP 地址但是我们通常用点分十进制的字符串…

无涯教程-Perl - bind函数

描述 此功能将网络地址绑定到由SOCKET标识的文件句柄。地址应该是用于打开的Socket的适当类型的打包地址。 语法 以下是此函数的简单语法- bind SOCKET, ADDRESS 返回值 如果失败,此函数返回0,如果成功,则返回1。 Perl 中的 bind函数 - 无涯教程网无涯教程网提供描述此功能…

day52-Redis

Redis 1.Redis 1.1 RESP连接Redis 1.2 定义&#xff1a;是一个高性能的key-value数据库&#xff08;非关系型数据库&#xff09; 1.3 数据类型&#xff1a; key键的类型是字符串类型&#xff1b; 值的类型有五种&#xff1a;字符串String&#xff0c;哈希hash&#xff0…

pygame贪吃蛇游戏

pygame贪吃蛇游戏 贪吃蛇游戏通过enter键启动&#xff0c;贪吃蛇通过WSAD进行上下左右移动&#xff0c;每次在游戏区域中随机生成一个食物&#xff0c;每次吃完食物后&#xff0c;蛇变长并且获得积分&#xff1b;按空格键暂停。 贪吃蛇 import random, sys, time, pygame from …

AR远程专家指导在汽车改装上的应用有哪些?

随着科技的不断发展&#xff0c;AR增强现实技术逐渐走进了我们的生活。加上商贸国际化&#xff0c;远程协同纵深到制造生产的更多环节&#xff0c;研发协同、工艺优化等场景复杂、跨层级、需要频繁沟通确认的流程正通过AR应用实现全面远程化的过渡&#xff0c;在汽车行业&#…

JVM入门到精通

一、JVM概念 1.1、什么是JVM Java Virtual Machine&#xff1a;Java虚拟机&#xff0c;用来保证Java语言跨平台 Java虚拟机可以看做是一台抽象的计算机&#xff0c;如同真实的计算机那样&#xff0c;它有自己的指令集以及各种运行时内存区域 Java虚拟机与Java语言并没有必然…

【数据结构】常见的排序算法

常见的排序算法 常见的排序算法插入排序之直接插入排序时间复杂度特性总结 插入排序之希尔排序时间复杂度 选择排序之直接选择排序特性总结 选择排序之堆排序时间复杂度特性总结 交换排序之冒泡排序特性总结 交换排序之快速排序hoare版本挖坑法双指针法快速排序的优化1&#xf…

【Python基础教程】super()函数的正确使用方法

前言 大家早好、午好、晚好吖 ❤ ~欢迎光临本文章 1.super(本身类名,self).方法名(参数)这样就可以调用父类的方法和参数了,super()内也可不加参数 2.规律是super是按调用的次序执行&#xff0c;super后面的语句是逆向执行的。 有2段示例代码&#xff0c;不同的在于value有没…

NB-IOT 和蜂窝通信(2/3/4/5G)的区别和特点是什么?

NB-IOT 和蜂窝通信(2/3/4/5G)的区别和特点是什么? 参考链接:https://www.sohu.com/a/221664826_472880 NB IOT是窄带物联网技术,主要解决的是低速率数据传输,可使用GSM900或DCS1800频段,在频段使用上比较灵活,可以和GSM,UMTS或LTE共存,具备优异的MCL(最小耦合损耗…

Vue3 条件渲染简单应用

去官网学习-》条件渲染 | Vue.js 运行示例&#xff1a; 代码&#xff1a;HelloWorld.vue <template><div class"hello"><h1>Vue 条件渲染</h1><h2 v-if"flag">true显示内容</h2><h2 v-if"flag2">fal…

我的创作5周年纪念日

机缘 CSDN在 SEO 方面做得很好。所以容易接触到。 然后就尝试使用了。没想到已经5年了。 收获 写blog其实是对知识的总结&#xff0c;能让自己更好的分享交流&#xff0c;让自己能和其他技术者一起交流迭代&#xff0c;并且把技术内容不断做好&#xff0c;让更多人通过技术…

【周末闲谈】“深度学习”,人工智能也要学习?

个人主页&#xff1a;【&#x1f60a;个人主页】 系列专栏&#xff1a;【❤️周末闲谈】 系列目录 ✨第一周 二进制VS三进制 ✨第二周 文心一言&#xff0c;模仿还是超越&#xff1f; ✨第二周 畅想AR 文章目录 系列目录前言机器学习深度学习深度学习的三在种方法深度学习讲解…

据说这是最详细的,HttpRunner接口自动化框架讲解,直接上高速...

目录&#xff1a;导读 前言一、Python编程入门到精通二、接口自动化项目实战三、Web自动化项目实战四、App自动化项目实战五、一线大厂简历六、测试开发DevOps体系七、常用自动化测试工具八、JMeter性能测试九、总结&#xff08;尾部小惊喜&#xff09; 前言 框架简介 HttpRu…

Golang之路---02 基础语法——函数

函数 由于Golang语言是编译型语言&#xff0c;所以函数编写的顺序是无关紧要的&#xff0c;它不像 Python 那样&#xff0c;函数在位置上需要定义在调用之前。 函数定义 func function_name( [parameter list] ) [return_types] {函数体 }参数解释&#xff1a; func&#x…