Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ora-12545

0 views
Skip to first unread message

Haoyu Zhou

unread,
Aug 11, 2003, 2:41:45 PM8/11/03
to
I tried to run "sqlplus user/passwd" from a solaris box with oracle client
installed w/o any luck. The error code is ora-12545. However, I was able
to connect to the database use "sqlplus user/passwd@SID". But ORACLE_SID
was set correctly in the .profile.

I checked tnsnames.ora, which has such an entry:
MYSID=(Description=
(Address=(protocol=tcp)(host=numeric IP)(port=1521))
(connect_data=(sid=mysid)
)


panther2003

unread,
Aug 11, 2003, 2:08:34 PM8/11/03
to

Would someone please help what went wrong? Thanks in advance.

--
Posted via http://dbforums.com

Karsten Farrell

unread,
Aug 11, 2003, 4:03:26 PM8/11/03
to
Hi Haoyu Zhou, thanks for writing this:

You might want to look into the TWO_TASK environment variable. Using your
sample tnsnames.ora, you can do the following (assuming ksh):

export TWO_TASK=MYSID
sqlplus user/passwd

That should be equivalent to:

sqlplus user/passwd@mysid
--
[:%s/Karsten Farrell/Oracle DBA/g]

Zafer AKTAN

unread,
Aug 12, 2003, 12:37:23 AM8/12/03
to

try setting the TWO_TASK environment variable.
I am using forms 6i with patch 14 on a solaris box as my
Oracle client and have no problems. Send me an email and
I will send you my .cshrc file.

0 new messages