ob单机部署,也同时部署了obproxy,为何获取不到proxyconfig?

[chm@CHM01 System32]$ obclient -h172.23.97.225 -P2883 -uroot@test -Doceanbase -A -p
Enter password:
Welcome to the OceanBase. Commands end with ; or \g.
Your OceanBase connection id is 1803288828
Server version: OceanBase_CE 4.3.5.4 (r104000042025090916-5cf5b925a25bf888aebaa288e251b85b1924e98a) (Built Sep 9 2025 17:07:42)

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(root@test)[oceanbase]> show proxyconfig like 'enable%'
** → ;**
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ‘proxyconfig like ‘enable%’’ at line 1
obclient(root@test)[oceanbase]>

需要登录proxysys 查看
obclient -h192.168.30.105 -P2883 -uroot@proxysys -p’xxxxx’ -Doceanbase -A, 使用命令show proxyconfig 查看。
可以使用obd cluster display 集群名称 查看proxysys 信息

2 个赞

了解了,账号没有切换过来

1 个赞