以下2种办法都需要登录数据库后才能知晓版本,除了以下2种查数据库的版本外,是否有不登录数据库就能查到版本的命令?
1、OBD部署的:
obd cluster display {cluster_name}
2、OCP:集群 → 目标集群 → 概览 → 基本信息 → 软件版本
3、日志:
grep ‘version:’ /home/admin/oceanbase/log/observer.log | head -1
4、参数文件:
strings /home/admin/oceanbase/etc/observer.config.bin|grep version
2 个赞
./observer -V
1 个赞
6啊,![]()
./observer -V
./observer -V
observer (OceanBase 4.2.1.10)
REVISION: 110060022025022409-cecbd957898927c2ae23f53206c466390429fce4
BUILD_BRANCH: HEAD
BUILD_TIME: Feb 24 2025 10:01:09
BUILD_FLAGS: RelWithDebInfo
BUILD_INFO:
Copyright (c) 2011-present OceanBase Inc.
