See how MongoDB is used
Version is 3.6.0
The options option refers to the user name and password
Address database addresses database format is IP: Port/Database 192.168.0.5:999/foo
Link local database test execution MONGO 127.0.0.1:12345/test
Indicates a successful link but has many warning permissions issues because there is no user name and password
Successful link to how the MongoDB service shuts down
Use Db.shutdownserver () to close the database link (I prefer to use commands)
Found unable to close the given prompt can only use admin permission to close (net stop mongodb/net start MongoDB)
Use admin
CTRL + C exit
View Logs
Use the tail command Tail command to install a separate download for Windows TCM Tail.exe
/files/hantianwei/tail.zip
After download, unzip, copy the Tail.exe to the directory: C:\Windows\System32
View log to see that you have exited
Restarting the MongoDB service
Reopen Log View tail-f C:\data\log\mongod.log
Port 12345 is waiting for a link
CTRL + C exit
Again MONGO 127.0.0.1:12345/test temporarily not various warnings
Link MongoDB Server