chennaiite has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I need to connect a Informix database server in windows.I downloaded DBD::Informix from cpan...
But it is not installing,giving error of cannot locate ppd file..
Also i can't find the ppd file....
Is there any other way to connect the informix server,can i use ODBC.... If so please provide the code if you know anybody....Since i am very new to informix.... Is this is correct way to connect.please confirm....
I need to connect a Informix database server in windows.I downloaded DBD::Informix from cpan...
But it is not installing,giving error of cannot locate ppd file..
Also i can't find the ppd file....
Is there any other way to connect the informix server,can i use ODBC.... If so please provide the code if you know anybody....Since i am very new to informix.... Is this is correct way to connect.please confirm....
Thanks in advance for your reply..........use DBI; $host="localhost"; $base="India_C"; $dbpath = "DBI:Informix:database=$base;host=$host"; $dbh = DBI->connect($dbpath, "", "") or die "Can't open database DB +I::errstr"; print "Successful Informix DB Connection";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Cannot connect informix database
by Roger (Parson) on Aug 30, 2005 at 09:09 UTC | |
Re: Cannot connect informix database
by kprasanna_79 (Hermit) on Aug 30, 2005 at 09:33 UTC | |
by Anonymous Monk on Aug 30, 2005 at 13:04 UTC | |
by Anonymous Monk on Aug 30, 2005 at 14:39 UTC |
Back to
Seekers of Perl Wisdom