Click here to Skip to main content
15,889,858 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi everyone

hi have oracle database on my pc
i want connect to db by ip of my pc
so
what a problem in this connection string

Password=tiger;User ID=scott;Data Source=iphere/orcl;Persist Security Info=True

thanks for any help
Posted
Updated 12-May-11 6:11am
v2

everything you need to now about connection string - http://www.connectionstrings.com/[^]
 
Share this answer
 
Comments
Mostafa Elsadany 12-May-11 11:11am    
thnks for help
but i opened but i can solve my problem
if you know when i can write ip in this connection
please tell me
Yusuf 12-May-11 11:37am    
Did you check the website? what did you see or what didn't you find there?
Mostafa Elsadany 12-May-11 11:46am    
i try all examples in web site
but not working with me
Try:
SQL Server:
Data Source=myIPAddressHere;Initial Catalog=iphere/orcl;


Come on man, don't expect a spoon feeding now. Look here for all samples: Connection strings for SQL Server[^]

Oracle:
Data Source=username/password@myIPAddressHerer//instancename;

Connection strings for Oraclehttp://www.connectionstrings.com/oracle[^]
 
Share this answer
 
v4
Comments
Mostafa Elsadany 12-May-11 11:44am    
so what a Catalog=iphere/orcl;
Mostafa Elsadany 12-May-11 11:45am    
Data Source=myIPAddressHere;Initial Catalog=myIPAddressHere/orcl;
so when password and username
Sandeep Mewara 12-May-11 11:49am    
I just told you where to put the ipAddress. Rest remains same. Try!

Further updated the answer for your reference.
Mostafa Elsadany 12-May-11 11:51am    
excuse me
you repeat Data Source=myIPAddressHere;Initial Catalog=myIPAddressHere/orcl;

how ?
Sandeep Mewara 12-May-11 11:54am    
Sorry not excused!

Read it correctly. I have not said "Data Source=myIPAddressHere;Initial Catalog=myIPAddressHere/orcl;"

Further, I shared the link, go through it now. It's a simple thing and you want full A to Z, step by step! :doh:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900