problems with Oracle dB oci8 connectivity

Discussion in 'Ruby' started by Peter Bailey, May 25, 2007.

  1. Peter Bailey

    Peter Bailey Guest

    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-forum.com/.
     
    Peter Bailey, May 25, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    250
    Wilson Bilkovich
    Nov 7, 2006
  2. Jason  Vogel
    Replies:
    4
    Views:
    317
    Jason Vogel
    Nov 21, 2006
  3. Brian Candler
    Replies:
    1
    Views:
    192
    Brian Candler
    Mar 20, 2007
  4. Mark Pelletier

    oci8 oracle rowid

    Mark Pelletier, Sep 24, 2007, in forum: Ruby
    Replies:
    1
    Views:
    141
    Mark Pelletier
    Sep 24, 2007
  5. Feyruz
    Replies:
    4
    Views:
    2,298
    Sherm Pendley
    Oct 14, 2005
Loading...

Share This Page