如何从 Perl 连接到 Oracle?

发布于 2024-08-29 00:20:09 字数 268 浏览 3 评论 0原文

我们有 Oracle 服务器“Oracle 版本:10.2.0.4.0 - 64 位”。我喜欢从我的 RHEL 机器上使用 Perl 连接到该服务器。我能够通过 sqlplus 成功连接。我可以使用 32 位或 64 位 Perl。我有几个问题。

我应该从 Oracle.com 下载哪些文件以及应该将它们安装在哪里?

我应该设置哪些环境设置或路径?

为了正确安装 DBD::Oracle 模块,我应该进行哪些配置更改或 Makefile 参数更改?

谢谢。

We have Oracle Server " Oracle Version: 10.2.0.4.0 - 64bit". I like to connect to this server with Perl from my RHEL machine. I am able to connect via sqlplus successfully. I can use 32-bit or 64-bit Perl. I have few questions.

Which files I should download from Oracle.com and where should I install them?

What are the environment settings or path that I should set?

What are the configuration changes or Makefile arguments changes I should make to install DBD::Oracle module properly?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

未蓝澄海的烟 2024-09-05 00:20:09

请忽略之前的答案,因为它已经过时了。

您需要下载的只是适用于 Linux 的 oracle“即时客户端”:
http://www.oracle.com/technology/ software/tech/oci/instantclient/htdocs/linuxsoft.html

这为您提供了构建 Perl 模块所需的内容。

快速谷歌一下,找到了以下安装指南:
http://duberga.net/dbd_oracle_instantclient_linux/

(我确信还有其他)

Please ignore the previous answer as it is woefully out of date.

All you need to download is the oracle "instant client" for Linux:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html

This gives you what you need to build the Perl module.

A quick google brought up the following for an install guide:
http://duberga.net/dbd_oracle_instantclient_linux/

(I'm sure there are others)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文