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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to retrieve the Connect String in UNIX script?

Re: How to retrieve the Connect String in UNIX script?

From: Jared Still <jkstill_at_cybcon.com>
Date: Sun, 15 Aug 2004 08:22:15 -0700
Message-Id: <1092583334.13688.48.camel@poirot>


On Sun, 2004-08-15 at 07:01, Wes Brooks wrote:

> The calling script will call the password.ksh to retrieve the password and Oracle user ID. But I
> have problem to retrieve the Connect String unless I have to hardcode in the UNIX script e.g.
> ORACLE_DATABASE=ABC_SID.
>
> Do we have a better way to handle this hard-coding?
>

Use the password server in the PDBA toolkit.

Passwords are stored in a configuration file, and served up to clients by a server listening on a port.

http://www.oreilly.com/catalog/oracleperl/pdbatoolkit/

Jared



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Sun Aug 15 2004 - 10:17:07 CDT

Original text of this message

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