Posted on 2009-08-03 23:02:43-07 by newperler
problem opening database
I am trying to open a database using:
my $db = DBI-> connect( "dbi:ODBC:george6", q{}, q{}, { RaiseError => 1, AutoCommit => 0 } ) or die $DBI::errstr;
but the program fails with the message: DBD::ODBC initialisation failed: Can't locate object method "driver" via package "DBD::ODBC" at c:/perl/lib/DBI.pm line 862. I am using Windows XP SP2 and installed perl using instructions elsewhere in this site - as far as I can tell, all the programs and modules have been installed in the right places. Could someone help please?
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.