From: Curt Hibbs Date: 2004-09-10T19:13:26+09:00 Subject: Re: Oracle DBI problem Robert Klemme wrote: > > DBI is probably compiled with an 8i driver: > http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_f > aq.htm#30_09 > > robert I can confirm that it *was* compiled with with oracle 8.1. Curt > "Wirianto Djunaidi" schrieb im Newsbeitrag > news:4141717E.4000402@mitrais.com... > > Hi, > > > > I am using one-click installer 1.8.1, and trying to use DBI connecting > > to Oracle 9i. > > And I got connection problem with it and wondering if anyone can help. > > Couldn't > > find any info on google that solve my problem. > > > > Here are the error message: ORA-06401: NETCMN: invalid driver designator > > > > Using this simple ruby script: > > #! /usr/bin/env ruby > > > > require "dbi" > > > > begin > > dbh = DBI.connectdbiOraclekms172.19.12.143,kmsproduct, > > "kmsproduct" > > ) > > rescue DBI::DatabaseError => e > > puts "An error occured" > > puts "Error code: #{e.err}" > > puts "Error messagE: #{e.errstr}" > > ensure > > dbh.disconnect if dbh > > end > > > > $ ruby --version > > ruby 1.8.1 (2003-12-25) [i386-mswin32] > > > > Thanks in advance > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.757 / Virus Database: 507 - Release Date: 9/9/2004 >