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

梦想的初衷 提交于 2019-12-12 04:40:35

问题


I am migrating to Red Hat from Solaris. Previously on Solaris, we connected to Sybase datasources through Java by passing an interfaces file location to a JDBC library. 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?

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.


回答1:


The interfaces file on Linux works the same as on Unix. It should be in the root of the Sybase ASE installation.

Assuming you have the Sybase ASE environment sourced in your shell it should be:

$SYBASE/interfaces

The utilities to edit the file are dscp or dsedit,.
To run dsedit:

$SYBASE/$SYBASE_OCS/bin/dsedit

To run dscp:

$SYBASE/$SYBASE_OCS/bin/dscp


来源:https://stackoverflow.com/questions/21734208/sybase-15-7-on-red-hat-enterprise-linux-server-release-6-4-santiago

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!