sathishkumar
sathishkumar

Reputation: 347

Perl program to connect oracle database from different system

I have a perl program which connects to oracle database and fetch details,Which is perfectly working from same host(cu394.cloud.net)

my $dbh = DBI->connect( "dbi:Oracle:host=cu394.cloud.net;sid=ora", "ctfuser238", "ctfuser238" , {'RaiseError' => 1});

But I need to run this same program from different host (cu364.cloud.net) to connect to cu394.

I tried make this script as executable binary like this using perlapp

/opt/pdk/bin/perlapp --force --exe rms --perl /opt/ActivePerl-5.12/bin/perl-static update.pl

and tried running that executable from different server but no luck

Kindly throw some light on this

Best Regards Sathish

Upvotes: 1

Views: 208

Answers (0)

Related Questions