SHOW PROXYSESSION VARIABLES;
报错: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 ‘PROXYSESSION VARIABLES’ at line 1
以下是数据库版本:
obclient [testdb]> SHOW VARIABLES LIKE ‘version%’;
±------------------------±-----------------------------------------------------------------------------------------------------------------+
| Variable_name | Value |
±------------------------±-----------------------------------------------------------------------------------------------------------------+
| version | 5.7.25-OceanBase_CE-v4.2.1.0 |
| version_comment | OceanBase_CE 4.2.1.0 (r100000102023092807-7b0f43693565654bb1d7343f728bc2013dfff959) (Built Sep 28 2023 07:25:28) |
| version_compile_machine | |
| version_compile_os | |
±------------------------±-----------------------------------------------------------------------------------------------------------------+
4 rows in set (0.002 sec)