简体   繁体   English

红帽企业Linux服务器版本6.4(圣地亚哥)上的Sybase 15.7

[英]Sybase 15.7 on Red Hat Enterprise Linux Server release 6.4 (Santiago)

I am migrating to Red Hat from Solaris. 我正从Solaris迁移到Red Hat。 Previously on Solaris, we connected to Sybase datasources through Java by passing an interfaces file location to a JDBC library. 以前在Solaris上,我们通过将interfaces文件位置传递给JDBC库来通过Java连接到Sybase数据源。 When I checked the Sybase documentation, they only list interfaces files as an option for UNIX and Windows... Does anyone know what the equivalent is for Linux? 当我检查Sybase文档时,他们只列出了作为UNIX和Windows选项的interfaces文件...有谁知道Linux的等价物是什么?

I know our datasources have been transfered over, because when i connect with: 我知道我们的数据源已被转移,因为当我连接时:

isql -S <server> -U <user> -P <password>

I can connect to the database. 我可以连接到数据库。 Unfortunately the team who installed the software on our new machines is unable to provide any details... 不幸的是,在我们的新机器上安装软件的团队无法提供任何细节......

In summary, I know our datasource profiles are listed somewhere, because I can specify a server by name and connect. 总之,我知道我们的数据源配置文件列在某处,因为我可以通过名称和连接指定服务器。 I need to find out where that information is. 我需要找出那些信息的位置。

The interfaces file on Linux works the same as on Unix. Linux上的interfaces文件与Unix上的相同。 It should be in the root of the Sybase ASE installation. 它应该位于Sybase ASE安装的根目录中。

Assuming you have the Sybase ASE environment sourced in your shell it should be: 假设您的shell中有Sybase ASE环境,它应该是:

$SYBASE/interfaces

The utilities to edit the file are dscp or dsedit, . 编辑文件的实用程序是dscpdsedit,
To run dsedit : 要运行dsedit

$SYBASE/$SYBASE_OCS/bin/dsedit

To run dscp : 要运行dscp

$SYBASE/$SYBASE_OCS/bin/dscp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM