What is the jTDS JDBC Connect URL to MS SQL Server 2005 Express

后端 未结 5 1330
慢半拍i
慢半拍i 2020-12-29 10:01

I\'m trying to connect to a MS SQL Server 2005 Express database that is running on the local host from a java program.

I have tried the same connect URL (below) that

5条回答
  •  醉话见心
    2020-12-29 10:35

    To check whether TCP/IP is enabled and the port is not blocked you can use "telnet 1433". Until telnet doesn't connect, jTDS won't either.

    e.g, c:>telnet servername 1433
    

    to enable telnet client on windows

    http://social.technet.microsoft.com/wiki/contents/articles/910.how-to-enable-telnet-client-in-windows-7.aspx

提交回复
热议问题