[root@192 bin]# /mnt/mongodb/mongodb/bin/mongod -f /mnt/mongodb/mongodb/bin/replset.conf --fork
about to fork child process, waiting until server is ready for connections.
forked process: 4870
child process started successfully, parent exiting
[roexitot@192 bin]# ./mongo localhost:27017
MongoDB shell version v4.0.21
connecting to: mongodb://localhost:27017/test?gssapiServiceName=mongodb
Implicit session: session {
"id" : UUID("ef944e56-0ca2-4481-8a30-d4d522da9c86") }
MongoDB server version: 4.0.21
Server has startup warnings:
2022-01-07T08:47:42.288+0800 I CONTROL [initandlisten]
2022-01-07T08:47:42.288+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2022-01-07T08:47:42.288+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.<
启动mongoDB提示ip地址错误解决办法
最新推荐文章于 2025-04-01 11:12:17 发布