Hi,

I am not sure whether this will help, but when I changed versions of oracle,
I had to change the connect string.  The perldoc provides several connect
string formats that can be used.  The format used for one version of oracle
did not work with another.  The error message was something similar to
yours.

regards

adrian


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 2 October 2001 05:41
To: [EMAIL PROTECTED]
Subject: Correct Oracle environment Needed for DBI


I have a program that sets the Oracle environment for 8.1.7 and connects to
the database just fine.  If I resent the environment to 8.0.5 and try to
connect to an 8.0.5 database, it fails with a OCIEnvInit error.  If I leave
the environment at 8.1.7 and connect to the 8.0.5 database, it succeeds.
If I run from cron with no environment set, it works fine.

I am obviously missing something basic about the Oracle environment the dbd
needs to run.  Should an environment never  be set or should it always be
set to 8i?

Thanks

Susan



*************************************************************************

PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.

*************************************************************************

Reply via email to