作者:koglum | 来源:互联网 | 2023-09-16 17:55
Trafodion下面主要有两种方法查看当前安装的数据库版本, 第一种,通过sqvers -u命令,如下
[trafodion@n12 esgynDB-2.2 .0 ]$ sqvers -u MY_SQROOT=/home/trafodion/esgynDB-2.2 .0 who@host=trafodion@n12 JAVA_HOME=/usr/lib /jvm/java-1.8 .0 -openjdk.x86_64 linux=2.6 .32 -573. el6.x86_64 redhat=6.7 NO patches Most common EsgynDB_Enterprise Release 2.2 .0 (Build release [EsgynDB-2.2 .0 -0 -ge85e9c1_Bld32], branch e85e9c1-no_branch, date 20161202 _0201) UTT count is 2 [2 ] EsgynDB Enterprise Release 2.2 .0 (Build release [EsgynDB-2.2 .0 -0 -ge85e9c1_Bld32], branch e85e9c1-no_branch, date 20161202 _0201)export/lib /jdbcT2.jarexport/lib /lib_mgmt.jar [2 ] EsgynDB Enterprise Release 2.2 .0 (Build release [jenkins], branch e85e9c1-e85e9c1d2df765a0cdc23db03b8679ba031c2aff, date 02 Dec16)export/lib /jdbcT4-2.2 .0 .jarexport/lib /jdbcT4.jar
第二种,通过CLI命令get version of software,如下
[trafodion@n12 esgynDB-2.2 .0 ]$ trafciWelcome to EsgynDB Enterprise Command Interface Copyright (c) 2015 -2016 Esgyn CorporationHost Name/IP Address: 10.10 .11 .250 :23400 User Name: zzConnected to EsgynDB EnterpriseSQL>get version of software;Software Version: Enterprise 2.2 .0