Page 1 of 1

oracle tcp/ip

Posted: Thu 26 May 2005 13:17
by 13lipca
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???

Posted: Fri 27 May 2005 07:53
by Paul
You must set Server, Port, SID parameters in connection string. Please see OraDirect documentation.
Data Source is not needed.