Welcome to Dream.In.Code
Become an Expert!

Join 149,507 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,330 people online right now. Registration is fast and FREE... Join Now!




How to connect to Perl to Oracle 10g

 
Reply to this topicStart new topic

How to connect to Perl to Oracle 10g, I have installed all the necessary module those are needed to connect

amit_mishra
10 Jul, 2007 - 03:25 AM
Post #1

New D.I.C Head
*

Joined: 27 Jun, 2007
Posts: 1


My Contributions
#!/usr/bin/perl -w
use DBI;
$db="itestlab";
$host="192.168.144.213"; ( My oracle Server IP )
$user="system";
$password="sethi123";
my $dbh=DBI->connect ("dbi:Oracle:database=$db:host=$host:1521",$user,$password) or die "can't connect to database ;$DBI::errstr\n";
$dbh->disconnect;
exit;

Please help me to solve the same
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 07:14PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month