Connecting to Oracle with DBI using DBD::ODBC
Posted on 2002-06-20
I set up a system dsn on windows 2000 called Module_Ack. I am trying to connect via ODBC to an Oracle 8i database that is on another server on the network. My connect statement is the following:
$dbh = DBI->connect('dbi:ODBC:Module_Ack', 'username', 'password');
When I run the script I get the following error.
connect(Module_Ack) failed: Specified driver could not be loaded due to system error 126 (Oracle73 Ver 2.5). (SQL-IM003)(DBD: db_login/SQLConnect err=-1) at C:\Inetpub\wwwroot\testrisk\cgi-bin\CompModuleAck.pl line 372 ="0">
CompModuleAck.pl line 372 is the line of the connect statement above. Any Ideas?