【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】oblogproxy,obclient
【 使用版本 】最新版
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【问题现象及影响】
/root/oblogproxy/log/out.log 也是 log/logproxy.ERROR 的内容
E20230731 17:37:45.104329 2824747 clog_meta_routine.cpp:45] Failed to check the existence of svr_min_log_timestamp column in __all_virtual_server_clog_stat, disable clog check
E20230731 17:37:47.112815 2758168 mysql_protocol.cpp:239] Failed to query observer:Table 'oceanbase.__all_virtual_server_clog_stat' doesn't exist, unexpected column count: 0
E20230731 17:37:47.112854 2758168 clog_meta_routine.cpp:45] Failed to check the existence of svr_min_log_timestamp column in __all_virtual_server_clog_stat, disable clog check
E20230731 17:37:47.121995 2824837 mysql_protocol.cpp:239] Failed to query observer:Table 'oceanbase.__all_virtual_server_clog_stat' doesn't exist, unexpected column count: 0
E20230731 17:37:47.122208 2824837 clog_meta_routine.cpp:45] Failed to check the existence of svr_min_log_timestamp column in __all_virtual_server_clog_stat, disable clog check
E20230731 17:37:49.133438 2758168 mysql_protocol.cpp:239] Failed to query observer:Table 'oceanbase.__all_virtual_server_clog_stat' doesn't exist, unexpected column count: 0
E20230731 17:37:49.133474 2758168 clog_meta_routine.cpp:45] Failed to check the existence of svr_min_log_timestamp column in __all_virtual_server_clog_stat, disable clog check
E20230731 17:37:49.141680 2824936 mysql_protocol.cpp:239] Failed to query observer:Table 'oceanbase.__all_virtual_server_clog_stat' doesn't exist, unexpected column count: 0
E20230731 17:37:49.141881 2824936 clog_meta_routine.cpp:45] Failed to check the existence of svr_min_log_timestamp column in __all_virtual_server_clog_stat, disable clog check
会在oblogproxy的log中看到E20230801 17:04:18.338573 3755387 ob_access.cpp:200] Failed to auth, all tenant mode or sys tenant must be connected as sys tenant, current: test
如果更改为
设置用户名和密码(非系统租户)
config.setUsername("test");
会在oblogproxy的log中看到E20230801 17:11:47.716344 3771750 mysql_protocol.cpp:126] Auth user failed of server: 172.16.0.158:2881, user: test