From: Peter Bailey Date: 2007-05-30T22:30:40+09:00 Subject: Help with Ruby < - > Oracle Connectivity Hello, I can't seem to get connected to an Oracle server here at my company. I'm using the oci8 gem along with DBI. Here's what I code and here's what I get. . . . require 'oci8' require 'dbi' begin # connect to the Oracle server dbh = DBI.connect("DBI:OCI8:ORCL:graphicsdb-prod.bna.com/grpprod.bna.com", "user", "passw") ... I get: An error occurred Error code: 12154 Error message: ORA-12154: TNS:could not resolve the connect identifier specified Program exited with code 0 I've tried it with and without the "ORCL" in the connect line, but, with the same results. Thanks, Peter -- Posted via http://www.ruby-forum.com/.