how to connect sql server using JTDS driver in Android

前端 未结 4 1110
攒了一身酷
攒了一身酷 2020-11-29 11:55

i am new in android.. i want to connect sql server using JTDS driver. can any one tell me..

thnx in advance...

4条回答
  •  执笔经年
    2020-11-29 12:10

    in my experience, if you're using Android with a stand-alone installation of SQL Server, you must use 10.0.2.2 address instead of "localhost" or "127.0.0.1", according to Android specifics for accessing localhost servers.

    I tried so, and have successfully connected to my SQL Server.

提交回复
热议问题