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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Naveed ZamanPosted May 21, 2013, 12:40 AM
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.
Ravikumar GPosted Jun 3, 2013, 1:57 AM
Jignesh TrivediPosted Apr 28, 2013, 11:34 PM
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
Sazid MauhammadPosted Apr 28, 2013, 4:03 PM
Kush MuchaalPosted Mar 25, 2013, 1:04 AM