Web1.流程: (1)创建超级管理员 (2)修改配置文件,验证身份登录 (3)重启服务 (4)使用超级管理员登录 Web21 mrt. 2024 · But when i tried to list dbs, i get this error mongos> use admin switched to db admin mongos> show users 2024-03-18T09:05:05.582+0100 E QUERY [thread1] Error: command usersInfo requires authentication : _getErrorWithCode@src/mongo/shell/utils.js:25:13 …
mongoDB Error: Authentication failed._死卷大厂的博客-CSDN博客
Web19 feb. 2016 · 12 Using the official mongo image from the docker hub, I run the following command to get it running: docker run --name api -p 127.0.0.1:27017:27017 -p 127.0.0.1:28017:28017 -d mongo Then from another terminal shell, I run mongo However, I keep getting the following error: Web21 mei 2016 · Restart your MongoDB server and enable authentication with --auth flag. > mongod --auth --port 27017 --dbpath /var/lib/mongodb Once your server is up, connect to … sharon needles final lipsync
i am facing an error while running the mongodb server
http://www.mamicode.com/info-detail-2885035.html Web7 dec. 2024 · I can successfully login with the mongo shell and command-line parameters: $ mongo --host docker-machine -u admin -p password MongoDB shell version v3.4.10 … pop up shoe ads