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