mongodb3.0.2远程链接不了,神马回事?
mongodb.conf 配置文件 systemLog: destination: file path: "/usr/local/mongodb/logs" logAppend: true storage: journal: enabled: true dbPath: "/usr/local/mongodb/data" processManagement: fork: true net: bindIp: 0.0.0.0 port: 8598 setParameter: enableLocalhostAuthBypass: false security: authorization: enabled
会不会是客户端连接版本太低?
MongoDB shell version: 2.4.9 Sun May 24 07:30:38.312 Error: 18 { ok: 0.0, errmsg: “auth failed”, code: 18 } at src/mongo/shell/db.js:228 exception: login failed
1 回复
换高版本的mongo client试试吧