Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to connect to a database on remote Unix server?

Status
Not open for further replies.

vladab

Programmer
Aug 13, 2002
13
US
Hello,

I am a UNIX novice. I am changing the code someone has written before. This code somehow connects to the database on the remote unix server. I have to redirect the code to connect to the different server. Could you please explain me the below code? (I've changed all the names in the below code)

export DBCONNECT=OPS\$ABC/`ftppwd remote_server 'ops$abc'`@database1

I understand that OPS\$ABC us a UserID. I just can't find ftppwd syntax used in the code in man.
I also reset the password on the remote server using
ftppwd -s command but I am still getting the error message
"Password is not found".

Please advise.

Thanks,
 
That is completely database dependent. I've worked a half dozen and what you've written doesn't look familiar.
 
seems like 'ftppwd' is a utility of some kind.

do 'which ftppwd' to get pathname where it's installed.

try 'ftppwd -usage' to get the usage clause.

if no usage clause has been coded in, study the code [if it's not binary] or google for it.

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top