Home  |  Linux  | Mysql  | PHP  | XML
From:Sandeep Warikoo Date:Tue Jan  4 01:47:08 2005
Subject:Oracle-Perl Connection Problem
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.
Navigate in group perl.dbi.oracle-oci at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants