Command failed with error 13
2022-05-10 本文已影响0人
惜小八
连接MongoDB数据库遇到的问题
Caused by: com.mongodb.MongoCommandException: Command failed with error 13: 'command insert requires authentication' on server water-gas-mongo:27017. The full response is { "ok" : 0.0, "errmsg" : "command insert requires authentication", "code" : 13, "codeName" : "Unauthorized" }
修改方式
docker-compose配置文件修改,删除密码信息
