obdiag config -h 192.168.211.156 -u sys -P 2881
obdiag version: 4.3.0
[ERROR] connect OB: 192.168.211.156:2881 with user sys failed, error:(1045, “Access denied for user ‘sys’@‘xxx.xxx.xxx.xxx’ (using password: NO)”)
–指定租户报错
obdiag config -h192.168.211.156 -usys@oracle_tent -P2881
obdiag version: 4.3.0
[ERROR] connect OB: 192.168.211.156:2881 with user sys@oracle_tent failed, error:(1235, ‘Oracle tenant for current client driver is not supported’)
–能连接
obclient -h192.168.211.156 -usys@oracle_tent -P2881 -p -c -A
Enter password:
Welcome to the OceanBase. Commands end with ; or \g.
Your OceanBase connection id is 3221564617
Server version: OceanBase 4.2.5.5 (r105020012025081414-16644e1c3fd2b0fa65c26cc6df1f1e0bc5a6590b) (Built Aug 14 2025 14:24:55)
Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
obclient(SYS@oracle_tent)[SYS]>