Connecting remote database

mohamed

New Member
I am new programmer in progress:
i am using MFG,
i want from progress to connect to another remote database
plz show complete steps.
thanxs
 

rsamuga

New Member
mohamed said:
I am new programmer in progress:
i am using MFG,
i want from progress to connect to another remote database
plz show complete steps.
thanxs


Hai Mohammad,
(Assumption, I hope you are working on UNIX Environment)

In the host database , first define the service name for the database in file "/etc/services" it will be some thing like this
jeldtest 3111/tcp
later in the host server you need to define host also in
"/etc/hosts" file it will something like
168.13.99.86 dev2 (i.e IP address and the host name).

apart from the above 2 steps
when you start up your database make sure to give these parameters in the startup script
"$DLC/bin/proserve jeldtest -S jeldtest -N TCP"
(down here -S stands for services and I am referring to the that service which I had defined in my host server -N stands for Network which is TCP IP protocal)

And in the user client script, you can just refer the DB name , no need to give full path , you will be able to connect to the database which resides in HOST server.

Pls try these steps......It should be ok .....If any probs let me know...

Thanks & Regards,
Raghu.
 
Top