Home: General Discussions: General Questions:
perl dbi connect oracle wallet



btran007
Novice

Jun 16, 2014, 9:44 AM


Views: 12526
perl dbi connect oracle wallet

Hello,

I am a newbie to Perl. We have a script that can connect to Oracle database. Now I want to implement it using Oracle Wallet. We have Oracle Wallet setup and I can connect running sqlplus from the command line. But it does not work in Perl. I am running DBI version 1.46 and Oracle 11g and Perl version 5.8.8. Here is my code. Please let me know if you have any questions.

use DBI;

my $db=DBI->connect("dbi:Oracle:tnsname");


Thanks in advance