安装mongodb,启动时出现问题,有警告,win7系统。

安装mongodb,启动时出现问题

输入mongod.exe--dbpath=D:\MongoDB\data后,出现警告。已经新建了data文件夹和log。

D:\mongodb\bin>mongo

MongoDB shell version v3.4.0

connecting to: mongodb://127.0.0.1:27017

MongoDB server version: 3.4.0

Welcome to the MongoDB shell.

For interactive help, type "help".

For more comprehensive documentation, see

        http://docs.mongodb.org/

Questions? Try the support group

        http://groups.google.com/group/mongodb-user

Server has startup warnings:

2016-12-19T12:01:19.211+0800 I CONTROL  [initandlisten]

2016-12-19T12:01:19.212+0800 I CONTROL  [initandlisten] ** 

WARNING: Access control is not enabled for the database.

2016-12-19T12:01:19.213+0800 I CONTROL  [initandlisten] **Read and write access to data and configuration is unrestricted.

2016-12-19T12:01:19.214+0800 I CONTROL  [initandlisten]

2016-12-19T12:01:19.215+0800 I CONTROL  [initandlisten] Hotfix KB2731284 or later update is not installed, will zero-out data files.

2016-12-19T12:01:19.215+0800 I CONTROL  [initandlisten]

>


詩和遠方
浏览 3896回答 2
2回答

如果不能解决你的问题丶我会惭愧

mongodb启动命令:mongod --dbpath 你自定义data文件的目录

黑白狼

解决了吗?我也出现这个问题。。
打开App,查看更多内容
随时随地看视频慕课网APP