On Mon, 2 Jun 2003 12:35:48 +0500 Naveed Anwer <[EMAIL PROTECTED]> wrote:

>   Recently we shifted to Oracle9i from Oracle8.1.7 on Solaris platform.
> We
> have some perl scripts which connects with the database using DBI. After
> migration to Oracle9i perl scripts fail to connect using DBI and give
> following error  "DBI->connect() failed: ERROR OCIEnvInit". I've checked
> all
> the environment variables and settings and they seem to be fine. Perl
> version being used is 5.6.1 and DBD/DBI version are 1.12/1.18. We
> re-installed DBD1.14 but no use.
> Anyone on this list who have faced same kind of problem, kindly help.

Rebuilding DBI is nice though you should have upgraded at the same
time.  The critical thing is rebuilding DBD::Oracle.  The OCI
and other libraries provided with Oracle 9i are not the same as those
provided with Oracle 8i.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to