【问题标题】:RHEL 6.5 Command Line Tool for Sybase ASE 15适用于 Sybase ASE 15 的 RHEL 6.5 命令行工具
【发布时间】:2014-09-26 09:09:48
【问题描述】:

我需要从 RHEL 6.5 机器访问 Sybase ASE 数据库,以便在那里测试一些 SQL 查询。

已经试过sqlplus64了,给我一个

ORA-12592: TNS:bad packet

$ sqlplus64 <username>/<password>@<host>:<port>/<db_schema_name>

这对我来说很有意义,因为它是一个 Oracle 工具,并且可能需要一个 Oracle 数据库。

我阅读了有关使用 isql 的信息,但我不知道如何在 RHEL 6.5 上安装它?!

对其他工具有什么建议,或者是否有可能以某种方式使用 sqlplus64?

【问题讨论】:

  • 您不使用 Sybase isql 命令行实用程序的任何原因?
  • 相关:dba.stackexchange.com/questions/19165/…(用于 SQL Server,但由于 Sybase 和 SQL Server 具有相同的协议,因此相同的工具可能会起作用)

标签: sql command-line sap-ase rhel6


【解决方案1】:

你是正确的 sqlplus64 不会连接到 Sybase 数据库实例。

如果 Sybase ASE 实例安装正确,isql 应该在 $SYBASE/$SYBASE_OCS/bin 中找到

启动工具:

isql -U <user name> -S <sybase instance name> 

系统会提示您输入密码

另一种命令行工具是 sqsh,可以从这里下载:

http://sourceforge.net/projects/sqsh/files/

Sqsh可以如下启动:

sqsh -U <user name> -S <sybase instance name>  

【讨论】:

    猜你喜欢
    • 2021-10-30
    • 1970-01-01
    • 2010-10-07
    • 2020-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多