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


Jun 16, 2014, 9:44 AM

Views: 12526
perl dbi connect oracle wallet


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