为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

詩和遠方 2016-12-20 17:38:19
安装mongodb,启动时出现问题输入mongod.exe--dbpath=D:\MongoDB\data后,出现警告。已经新建了data文件夹和log。D:\mongodb\bin>mongoMongoDB shell version v3.4.0connecting to: mongodb://127.0.0.1:27017MongoDB server version: 3.4.0Welcome 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-userServer 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]>
查看完整描述

2 回答

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

TA贡献22条经验 获得超8个赞

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

查看完整回答
反对 回复 2017-07-14
?
黑白狼

TA贡献1条经验 获得超0个赞

解决了吗?我也出现这个问题。。

查看完整回答
反对 回复 2017-07-14
  • 2 回答
  • 0 关注
  • 3716 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信