查询mongodb时报Cannot use 'commands' readMode, degrading to 'legacy' mode

xiaoxiao2025-09-03  15

一. 场景

通过rebomongo 工具或者直接xshell工具连接mongodb报Cannot use 'commands' readMode, degrading to 'legacy' mode

二. 解析

mongodb新建的数据库和表里面没有数据只是占位 高版本的shell链接低版本mongo 会出现 Cannot use 'commands' readMode, degrading to 'legacy' mode 忽略就好;

参考文档 https://jira.mongodb.org/browse/SERVER-20915https://blog.csdn.net/cominglately/article/details/79708800
转载请注明原文地址: https://www.6miu.com/read-5035680.html

最新回复(0)