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 -> Connecting to a DB on a machine that has multiple DB's installed

Connecting to a DB on a machine that has multiple DB's installed

From: Edward Chan <ballgod_at_yahoo.com>
Date: Fri, 17 Sep 1999 22:25:35 GMT
Message-ID: <7ruf4k$vfs$1@nnrp1.deja.com>


I'm gonna make references to OCI, but it's not really specific to OCI. It's sort of a general question.

Let's say I have a Unix box called "MyMachine". And I have only one Oracle database installed on it. When I call OCIServerAttach(), I pass it "MyMachine" and it will connect. What if I have more than one database installed on "MyMachine"?

On NT, I know I can use Net8 to set up aliases that say "DB1" refers to the database installed on Port X on machine Y. And I can pass "DB1" to OCIServerAttach(). This works.

On Unix, I can also set up similiar aliases. I'm not sure what the terminology is here. But passing "DB1" to OCIServerAttach() here, doesn't seem to work.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Fri Sep 17 1999 - 17:25:35 CDT

Original text of this message

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