MONGO server-side download link: https://www.mongodb.com/download-center?jmp=nav
Client View tool Mongovue tool download link: http://pan.baidu.com/share/init?shareid=1320948584&uk=2466540631, password: 87GF
Server-side startup settings file directory, new file Mongo.config, code as follows
#数据库路径
Dbpath=d:\mongo\data
#日志输出文件路径
Logpath=d:\mongo\logs\mongo.log
#错误日志采用追加模式
Logappend=true
#启用日志文件, enabled by default
Journal=true
#这个选项可以过滤掉一些无用的日志信息, set to False if you need to use Debug
Quiet=true
#端口号 defaults to 27017
port=27017
Go to the D-disk folder you want in the new code
MONGO server-side is installed by default on C:\Program Files\mongodb\server\3.4\bin
Open the command line as an administrator, enter: CD C:\Program files\mongodb\server\3.4\bin
After locating to C:\Program files\mongodb\server\3.4\bin, enter Mongod--config "D:\Mongo\mongo.conf" to create the file under the D drive Mongo data
Service started successfully
Open Mongovue Client tool, add connection, name line can fill in, Sever fill 127.0.0.1 Live localhost,port default 27017, click Save after connection, you can see the current MONGO all databases and collections (table)
NET MongoDB Installation