[root@monitor ~]# mongosh
Current Mongosh Log ID: 66ae52a7ad27f1e35a838725
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.15
Using MongoDB: 7.0.12
Using Mongosh: 2.2.15For mongosh info see: https://docs.mongodb.com/mongodb-shell/To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy).
You can opt-out by running the disableTelemetry() command.------The server generated these startup warnings when booting2024-08-03T08:52:18.195-07:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted2024-08-03T08:52:18.196-07:00: You are running this process as the root user, which is not recommended2024-08-03T08:52:18.196-07:00: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'in this binary version2024-08-03T08:52:18.196-07:00: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. We suggest setting it to 'never'in this binary version2024-08-03T08:52:18.196-07:00: Soft rlimits foropenfile descriptors too low
------Deprecation warnings:- Using mongosh on the current operating system is deprecated, and support may be removed in a future release.
See https://www.mongodb.com/docs/mongodb-shell/install/#supported-operating-systems for documentation on supported platforms.
test> show dbs
admin 40.00 KiB
config 12.00 KiB
local40.00 KiB
test>