Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 93454
BY: Daniel Kim (dkim18)
DATE: 2010-04-23 14:31
SUBJECT: ORA-12154: TNS:could not resolve the connect

 

Hi,

I am trying to run RoR app with oracle backend, but I am having "ORA-12154: TNS:could not resolve the connect identifier specified ruby" error.

I have ruby and oracle instant client installed and set class path.(If I type 'path' I see the path.) I also ran "ruby-oci8-1.0.7-mswin32.rb" command successfully.

this is my part of database.yml:

development:

adapter: oracle
database: //abc:1521/def.fgh.org
username: user_dba
password: password

this database.yml set up works for same project in prod machine that I configured a few years ago.
Now, I am trying to setup dev env and I can't get thing to work.

RoR web app working except working with database part.

If I am missing something, plz let me know.

thanks in advance.

Daniel


Thread View

Thread Author Date
ORA-12154: TNS:could not resolve the connect Daniel Kim2010-04-23 14:31
      RE: ORA-12154: TNS:could not resolve the connect Yasuo Honda2012-04-24 16:13

Post a followup to this message