Connecting DB with Hostname, not IP-Adress

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ali

Connecting DB with Hostname, not IP-Adress

Post by ali » Tue 19 Apr 2005 12:42

Hi,

how can i connect to DB with the Hostname, with the NET option is True?

thanks

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Tue 19 Apr 2005 12:54

You can use following value with Server property:

Code: Select all

Hostname:Port:SID
e.g.

Code: Select all

Server:1521:orcl92

Post Reply