【 使用环境 】测试环境
【 OB or 其他组件 】oceanbase + obproxy
【 使用版本 】
±-------------±------------±-----------------------±-----------------------------------------+
| Repository | Version/Tag | Release | Hash |
±-------------±------------±-----------------------±-----------------------------------------+
| oceanbase-ce | 4.2.5.0 | 100000052024102022.el7 | bc00e118ca7638d0e46ac788d8723d43ce1d796d |
| obproxy-ce | 4.3.5.0 | 3.el7 | f17b277b681adb1c86bfc3cfda369ad88896da9d |
±-------------±------------±-----------------------±-----------------------------------------+
【问题描述】用obd安装,配置完成后,用redis-cli连接oceanbase,提示下面的错误。
redis-cli -h 127.0.0.1 -p 2885 -a Root_123456
Warning: Using a password with ‘-a’ or ‘-u’ option on the command line interface may not be safe.
AUTH failed: ERR errCode:-5154, errCodeName:ObErrBadDatabase, errMsg:Unknown database, server:127.0.0.1:2882, trace:YD3707F000001-0000000000000000-0-0
127.0.0.1:2885>
redis-cli -h 127.0.0.1 -p 2885 --user root@redis_tenant#demo -a Root_123456
Warning: Using a password with ‘-a’ or ‘-u’ option on the command line interface may not be safe.
AUTH failed: ERR errCode:-5154, errCodeName:ObErrBadDatabase, errMsg:Unknown database, server:127.0.0.1:2882, trace:YAB1A7F000001-0000000000000000-0-0
相关链接都404 not found无法访问: 连接 OBKV-Redis 并鉴权-V4.2.5-文档-分布式数据库使用文档 (oceanbase.com)
[ 官网《OceanBase 数据库》文档 OBKV-Redis ]
连接 OBKV-Redis 并鉴权
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!