D: \ mongo \ bin> Mongo. Exe
Mongo shell version v3.6.0
Connecting to: mongo://127.0.0.1:27017
Mongo server version: 3.6.0
The Server from the startup warnings:
The 2017-12-16 T23:50:58. 764 + 0800 I CONTROL [initandlisten]
The 2017-12-16 T23:50:58. 764 + 0800 I CONTROL [initandlisten] * * WARNING: Access CONTROL is not enabled for the database.
The 2017-12-16 T23:50:58. 765 + 0800 I CONTROL [initandlisten] * * the Read and write access to the data and the configuration is
Unrestricted.
The 2017-12-16 T23:50:58. 766 + 0800 I CONTROL [initandlisten]
The 2017-12-16 T23:50:58. 767 + 0800 I CONTROL [initandlisten] * * WARNING: This server is bound to localhost.
The 2017-12-16 T23:50:58. 768 + 0800 I CONTROL [initandlisten] * * Remote systems will be unable to connect to this s
Erver.
The 2017-12-16 T23:50:58. 769 + 0800 I CONTROL [initandlisten] * * Start the server with - bind_ip & lt; Address> The to speci
Fy which IP
The 2017-12-16 T23:50:58. 770 + 0800 I CONTROL [initandlisten] * * addresses it should serve responses from, or with
- bind_ip_all to
The 2017-12-16 T23:50:58. 771 + 0800 I CONTROL [initandlisten] * * bind to all interfaces. If this behaviors is desire
D, start the
The 2017-12-16 T23:50:58. 773 + 0800 I CONTROL [initandlisten] * * server with - bind_ip 127.0.0.1 to disable this wa
Rning.
The 2017-12-16 T23:50:58. 774 + 0800 I CONTROL [initandlisten]
The 2017-12-16 T23:50:58. 775 + 0800 I CONTROL [initandlisten]
The 2017-12-16 T23:50:58. 775 + 0800 I CONTROL [initandlisten] * * WARNING: The file system cache of this machine is The configure
D to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance.
The 2017-12-16 T23:50:58. 777 + 0800 I CONTROL [initandlisten] See http://dochub.mongodb.org/core/wt-windows-system-file-cach
E
The 2017-12-16 T23:50:58. 778 + 0800 I CONTROL [initandlisten]
CodePudding user response:
Mongo client isMongod is the server end
With start mongod server first and then use mongo server connection
CodePudding user response:
First start mongod a console input, start upstairs said server, not to closeTo start another console input mongo, start the client, and then is rich in
CodePudding user response:
May follow the steps to implement in the http://blog.itpub.net/53956/viewspace-2142950/installationCodePudding user response:
Ok, not more complicated,