2 Replies Latest reply on Dec 20, 2011 11:19 AM by Sudheendra-Oracle

    How to use Oracle instant client to run sqlplus

      I installed Oracle Client 11.2. I noticed that there is a sqlplus command that I can use to test the database connection. How do I run it without a tnsnames.ora file?

      Well, I put a tnsnames.ora file under $ORACLE_HOME,

      when I invoke sqlplus, It gives me this error:

      Enter user-name: user/password@testdb
      ORA-12154: TNS:could not resolve the connect identifier specified

      How can I test the connection?

      Thanks a lot!