Re: Connecting to Oracle using sqlplus, bypass tnsnames.ora question
From: Lyndon Tiu <ltiu_at_alumni.sfu.ca>
Date: Tue, 21 Oct 2008 07:34:10 -0700
Message-Id: <200810211434.m9LEYA0l016340@rm-rstar.sfu.ca>
Hi guys,
Date: Tue, 21 Oct 2008 07:34:10 -0700
Message-Id: <200810211434.m9LEYA0l016340@rm-rstar.sfu.ca>
('binary' encoding is not supported, stored as-is)
Hi guys,
Thanks for all the tips.
I got this to work on Windows DOS:
sqlplus user/pass@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xxx.xxx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MyOraDB)))
But, I could not get it to work on Linux Shell. I am getting shell errors.
"bash: syntax error near unexpected token `('"
Any ideas?
--
Lyndon Tiu
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 21 2008 - 09:34:10 CDT