Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
problems with Oracle dB oci8 connectivity
Peter Bailey
5/25/2007 5:46:00 PM
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.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
problems with Oracle dB oci8 connectivity
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password