JDBC: Simple MSSql connection example not working

后端 未结 8 1559
无人共我
无人共我 2020-12-08 10:29

I am learning Java and need to just run something simple to retrieve some data from MSSQL via JDBC. The example in my book doesn\'t work (but it is several years old) and th

8条回答
  •  心在旅途
    2020-12-08 11:12

    Causes :

    1. protocol (TCP/IP) is not enabled
    2. Port is incorrect
    3. missing of sqljdbc_auth.dll

提交回复
热议问题