problems with Oracle dB oci8 connectivity


P

Peter Bailey

Hello,
I need to connect from my Windows server over to an Oracle database in
Unix land. I finally got the Oracle client loaded on my server, and, I
downloaded and installed the oci8 gem from rubyforge.

Here's the top of my script.

require 'oci8'
require 'dbi'

begin
# connect to the Oracle server
dbh = DBI.connect("DBI:Oracle:graphicsdb-prod.bna.com/grpprod.bna.com",
"user", "password")
...

I get the following error:

"Unable to load driver 'Oracle.'"

I'd appreciate any help on this.

Thanks.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top