此内容没有您所选择的语言版本。

10.2. Install the ODBC Driver on Red Hat Enterprise Linux


10.2.1. Install the ODBC Driver on Red Hat Enterprise Linux

Prerequisites

  • Administrative permissions are required.

Procedure 10.1. Install the ODBC Driver on Red Hat Enterprise Linux

  1. Download the driver

    Download the correct ODBC driver package (jboss-dv-psqlodbc-[version]-X.rpm) from https://access.redhat.com/jbossnetwork/.
  2. Install the package

    Run sudo yum localinstall jboss-dv-psqlodbc-[version]-X.rpm.

Note

Installation packages for different operating systems can be downloaded from https://access.redhat.com/jbossnetwork/.

10.2.2. Configure the ODBC Environment

  • Configure the Environment

    Run the /opt/redhat/jboss-dv/v6/psqlodbc/etc/setenv.sh script:
    [localhost etc]$ ./setenv.sh
    Copy to Clipboard Toggle word wrap
    This script adds the required directories to the LD_LIBRARY_PATH and PATH environment variables. This script has to be run every time you want to use the driver.

10.2.3. Configure the DSN for Linux Installation

  • Edit the /opt/redhat/jboss-dv/v6/psqlodbc/etc/odbc.ini file and update it with the correct username, password, and database. The database name is the VDB name.
    ODBC is enabled in JBoss Data Virtualization on port 35432 by default.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat