develooper Front page | perl.dbi.oracle-oci | Postings from January 2005

Oracle-Perl Connection Problem

Thread Next
From:
Sandeep Warikoo
Date:
January 4, 2005 02:16
Subject:
Oracle-Perl Connection Problem
Message ID:
20050104084535.3963.qmail@lists.develooper.com
Hi,

I'm trying the access oracle through perl, but am getting the error 
"ERROR OCIEnvInit".

My perl script is:

-------------------------------------------------------------------------
use DBI;

$ENV{ORACLE_HOME}='/data/oracle/product/9.2.0';

my $dbh = DBI->connect("dbi:Oracle:d7_bilab03","hpbi_owner","hpbi") or 
die "couldn't connect to database:    $DBI::errstr\n";

--------------------------------------------------------------------------

Does anyone know how to solve this?

Regards,
Sandeep W.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About