D:\Program Files\MongoDB\Server\bin>mongo
MongoDB shell version v4.2.0
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("2e7e7d0f-64a1-4b2c-bb94-96374cbd38d8") }
MongoDB server version: 4.2.0
Server has startup warnings:
2019-09-10T04:46:34.669-0700 I CONTROL [initandlisten]
2019-09-10T04:46:34.670-0700 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2019-09-10T04:46:34.671-0700 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2019-09-10T04:46:34.671-0700 I CONTROL [initandlisten]
2019-09-10T04:46:34.674-0700 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
2019-09-10T04:46:34.674-0700 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this server.
2019-09-10T04:46:34.675-0700 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to specify which IP
2019-09-10T04:46:34.675-0700 I CONTROL [initandlisten] ** addresses it should serve responses from, or with --bind_ip_all to
2019-09-10T04:46:34.675-0700 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desired, start the
2019-09-10T04:46:34.676-0700 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this warning.
2019-09-10T04:46:34.676-0700 I CONTROL [initandlisten]
---
Enable MongoDB's free cloud-based monitoring service, which will then receive and display
metrics about your deployment (disk utilization, CPU, operation statistics, etc).
The monitoring data will be available on a MongoDB website with a unique URL accessible to you
and anyone you share the URL with. MongoDB may use this information to make product
improvements and to suggest MongoDB products and deployment options to you.
To enable free monitoring, run the following command: db.enableFreeMonitoring()
To permanently disable this reminder, run the following command: db.disableFreeMonitoring()
---
2019-09-10T05:06:04.632-0700 F CONTROL [main] *** unhandled exception 0xE06D7363 at 0x00007FF84C22A388, terminating
2019-09-10T05:06:04.632-0700 F CONTROL [main] *** stack trace for unhandled exception:
2019-09-10T05:06:04.688-0700 I - [main] KERNELBASE.dll RaiseException+0x68
VCRUNTIME140.dll CxxThrowException+0xad
mongo.exe ...\src\third_party\boost-1.70.0\libs\filesystem\src\path_traits.cpp(80) `anonymous namespace'::convert_aux+0x110
mongo.exe ...\src\third_party\boost-1.70.0\libs\filesystem\src\path_traits.cpp(160) boost::filesystem::path_traits::convert+0xcf
mongo.exe ...\src\mongo\shell\shell_utils.cpp(111) mongo::shell_utils::getHistoryFilePath+0x1dc
mongo.exe ...\src\mongo\shell\dbshell.cpp(212) shellHistoryInit+0x3f
mongo.exe ...\src\mongo\shell\dbshell.cpp(1073) _main+0x21b7
mongo.exe ...\src\mongo\shell\dbshell.cpp(1210) wmain+0x65
mongo.exe d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288) __scrt_common_main_seh+0x10c
KERNEL32.DLL BaseThreadInitThunk+0x14
2019-09-10T05:06:04.691-0700 I CONTROL [main] writing minidump diagnostic file D:\Program Files\MongoDB\Server\bin\mongo.2019-09-10T12-06-04.mdmp
2019-09-10T05:06:04.805-0700 F CONTROL [main] *** immediate exit due to unhandled exception