Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: "/ as sysdba" Failes But "sys/password@service_name" Works ???

Re: "/ as sysdba" Failes But "sys/password@service_name" Works ???

From: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Wed, 25 Feb 2004 20:11:26 GMT
Message-ID: <403D016E.6D2FDC06@remove_spam.peasland.com>


> $> export ORACLE_SID=my_db_name
> $> sqlplus "/ as sysdba"
> ERROR:
> ORA-12545: Connect failed because target host or object does not exist

Is the database you are trying to connect to a remote database? If so, then you won't be able to connect this way. You'll have to connect the first way you indicated.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Wed Feb 25 2004 - 14:11:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US