i want to make a application in java, by which i want to access and update database from a remote computer.
how i can do this if you have solution plz reply first
thanx in advance
skhan from
jaipur
[email protected]
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naveed ZamanRank #565 · 4.3K reputationPosted May 20, 2013, 8:40 PM EDT
first you have to enable the sharing of sql server on remote computer and turn off their fire wall.
when your are creating connection string in java you have to define the IP address of that remote system. in case your IPCONFIG its simple.
For Example:
10.1.240.44\SQLEXPRESS
please check my article
http://www.c-sharpcorner.com/UploadFile/e881fb/secured-connection-between-sql-server-and-C-Sharp-using-specific/
and please inform me if you have any problem.
Kush MuchaalRank #2,573 · 543 reputationPosted Mar 24, 2013, 9:04 PM EDT
Sazid MauhammadRank #818 · 2.8K reputationPosted Apr 28, 2013, 12:03 PM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 28, 2013, 7:34 PM EDT
hi,
to do this you have to create JDBC connection and also your database server must support remote mode.
Please refer below link it might help you.
http://www.homeandlearn.co.uk/java/connect_to_a_database_using_java_code.html\
http://alvinalexander.com/java/jdbc-connection-string-mysql-postgresql-sqlserver
Ravikumar G178 reputationPosted Jun 2, 2013, 9:57 PM EDT