请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

mongod模式进不去

C:\Users\张泽涵>mongod

2017-09-21T15:23:06.370+0800 I CONTROL  [initandlisten] MongoDB starting : pid=17124 port=27017 dbpath=C:\data\db\ 64-bit host=DESKTOP-QA5PGI9

2017-09-21T15:23:06.371+0800 I CONTROL  [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2

2017-09-21T15:23:06.371+0800 I CONTROL  [initandlisten] db version v3.4.9

2017-09-21T15:23:06.371+0800 I CONTROL  [initandlisten] git version: 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e

2017-09-21T15:23:06.371+0800 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1u-fips  22 Sep 2016

2017-09-21T15:23:06.371+0800 I CONTROL  [initandlisten] allocator: tcmalloc

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten] modules: none

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten] build environment:

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten]     distmod: 2008plus-ssl

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten]     distarch: x86_64

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten]     target_arch: x86_64

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten] options: {}

2017-09-21T15:23:06.372+0800 I STORAGE  [initandlisten] exception in initAndListen: 29 Data directory C:\data\db\ not found., terminating

2017-09-21T15:23:06.372+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...

2017-09-21T15:23:06.372+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten] now exiting

2017-09-21T15:23:06.372+0800 I CONTROL  [initandlisten] shutting down with code:100


正在回答 回答被采纳积分+3

1回答

河畔一角 2017-09-21 15:34:25

mongod是用来启动配置的,后面加上启动的配置文件,我慕课上面有手机,打开看一下。

0 回复 有任何疑惑可以回复我~
  • 加上配置文件也是这样
    回复 有任何疑惑可以回复我~ 2018-02-25 01:37:13
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信