相关疑难解决方法(0)

MongoDB:服务器有启动警告''没有为数据库启用访问控制''

我今天首先安装了MongoDB 3.4.1.但是当我启动它并使用MongoDB shell时,它给了我以下警告:

C:\Users\hs>"C:\Program Files\MongoDB\Server\3.4\bin\mongo.exe
MongoDB shell version v3.4.1
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.1
Server has startup warnings:
2017-01-12T21:19:46.941+0800 I CONTROL  [initandlisten]
2017-01-12T21:19:46.942+0800 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-01-12T21:19:46.942+0800 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2017-01-12T21:19:46.942+0800 I CONTROL  [initandlisten]
Run Code Online (Sandbox Code Playgroud)

我的电脑是Microsoft Windows [版本10.0.14393].

mongodb

74
推荐指数
2
解决办法
10万
查看次数

MongoDB:服务器有启动警告

我今天首先安装了MongoDB 3.2.5.但是当我启动它并使用MongoDB shell时,它给了我以下警告:

C:\Windows\system32>mongo
MongoDB shell version: 3.2.5
connecting to: test
Server has startup warnings:
2016-04-16T11:06:17.943+0800 I CONTROL  [initandlisten]
2016-04-16T11:06:17.943+0800 I CONTROL  [initandlisten] ** WARNING: Insecure configuration, access control is not enabled and no --bind_ip has been specified.
2016-04-16T11:06:17.943+0800 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted,
2016-04-16T11:06:17.943+0800 I CONTROL  [initandlisten] **          and the server listens on all available network interfaces.
2016-04-16T11:06:17.943+0800 I CONTROL  [initandlisten]
>
Run Code Online (Sandbox Code Playgroud)

我的操作系统是Microsoft Windows [版本10.0.10586].

windows mongodb

21
推荐指数
1
解决办法
3万
查看次数

标签 统计

mongodb ×2

windows ×1