oracle tcp/ip

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
13lipca

oracle tcp/ip

Post by 13lipca » Thu 26 May 2005 13:17

hello
i`m not very good in english.
I have problem with connect to the database using tcp/ip.
Connection string looks somethong like this:
oraConnection.ConnectionString = "User Id=scott;Password=tiger;Data Source=ora";
Where do I must write the host or ip adres???

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Fri 27 May 2005 07:53

You must set Server, Port, SID parameters in connection string. Please see OraDirect documentation.
Data Source is not needed.

Post Reply