#10499·dbx

[Bug] dbx 测试连接成功,但在选择/显示数据库时报错:Agent RPC error (-1): Command failed with error 13 (Unauthorized…

Author: D-A-I-H-A-OCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbugdb/mongodbuser-priority/P0ai-priority/P2

数据库类型和版本 / Database type and version

MongoDB 3.4.4

问题描述 / Problem description

dbx 测试连接成功,但在选择/显示数据库时报错:Agent RPC error (-1): Command failed with error 13 (Unauthorized): 'not authorized on admin to execute command { listDatabases: 1, nameOnly: true }' on server 192.168.80.146:27017. The full response is {"ok": 0.0, "errmsg": "not authorized on admin to execute command { listDatabases: 1, nameOnly: true }", "code": 13, "codeName": "Unauthorized"}

支持信息 / Support information

DBX 版本: v0.6.26 运行环境: 桌面端 操作系统: Windows 11 (10.0.22631.3880) 系统架构: x86_64 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0 数据库类型: mongodb, mongodb/mongodb-legacy, mysql, plugin, postgres, sqlserver 本地驱动版本: mongodb 0.1.71

优先级(是否紧急) / Priority (urgency)

P0 紧急 · 下个版本必须修 / Urgent · Must fix next release

补充信息 / Additional information

No response