Hi Mac, Thanks for your reply. But we've re-installed DBD::Oracle 1.14 and still getting the same error. Could you tell me which version of DBD will work with Oracle9i
Thanks and Regards Naveed -----Original Message----- From: Michael A Chase [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 2:47 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Connection Problem 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.
