[SoapUI] JDBC 请求连接SQL Sever,MySQL

MySQL
Driver: com.mysql.jdbc.Driver
Connection string: jdbc:mysql://localhost:3306/xxx?user=xxx&password=xxx

SQLServer
Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection string (SQL Server Authentication): jdbc:sqlserver://xxx(SeverName):1433;databaseName=xxx(DB Name);user=xxx;password=xx
Connection string (Windows Authentication): jdbc:sqlserver://xxxx(SeverName):1433;databaseName=xxx(DB Name);IntegratedSecurity=true

For soapUI: (先到官网下载driver,解压)
copy “sqljdbc4.jar” to C:\Program Files (x86)\SmartBear\SoapUI-5.1.3\bin\ext
copy “sqljdbc_auth.dll” to C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\bin

猜你喜欢

转载自blog.csdn.net/tinaTing1/article/details/93996658