MGautam wrote:
Hi,
I want to connect to a "Oracle SQL Developer" with perl (running on
windows).

I tried something like,

use DBI;

$db = "database1";
$host = "10.0.0.1:1433";
$user = "username";
$password = "password";

my $dbh   = DBI->connect ("DBI:Oracle:database=$db:host=$host",
                           $user,
                           $password)
                           or die "Can't connect to database:
$DBI::errstr\n";


install_driver(Oracle) failed: Can't load
'C:/Perl/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle:
load_file:The specified procedure could not be found at
C:/Perl/lib/DynaLoader.pm line 202.


Do you have an Oracle client installed on the Windows box?

Robert

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to