ListCollections failed: { ok: 0.0, errmsg: "no such cmd: listCollections", code: 59, bad cmd: { $query: { listCollections: 1, filter: {}, cursor: {} }, $readPreference: { mode: "secondaryPreferred" } } }
在github上找到了答案,版本的问题
服务器上的版本是2.6
升级或者调整robo就可以了