原文:https://blog.csdn.net/xyy18772381537/article/details/52053823/
环境:
win7
SQL Server 2008 R2
Microsoft SQL Server Management Studio 10.50.4000.0
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.17843
Microsoft .NET Framework 2.0.50727.8762
Operating System 6.1.7601
1、打开SQL Server Configuration Manager
2、配置TCP/IP
3、改IPALL的端口
4、重启数据库服务
guns的连接配置
spring:
datasource:
driverClassName: net.sourceforge.jtds.jdbc.Driver
url: jdbc:jtds:sqlserver://127.0.0.1:1433;DatabaseName=guns_advanced
username: sa
password: sa
filters: wall,mergeStat