Change the port for SQLServer to the default port provided in docker-compose. Also change the connection URL to specify database correctly.

This commit is contained in:
MichaelWasher
2018-09-13 13:52:49 +12:00
committed by Andrey.Tarashevskiy
parent 9df6ee8f5e
commit a774285d8b

View File

@@ -65,7 +65,7 @@ compile "com.h2database:h2:1.4.197"
```
* SQL Server
```Kotlin
Database.connect("jdbc:sqlserver://localhost:32781/test", "com.microsoft.sqlserver.jdbc.SQLServerDriver",
Database.connect("jdbc:sqlserver://localhost:32768;databaseName=test", "com.microsoft.sqlserver.jdbc.SQLServerDriver",
user = "root", password = "your_pwd")
//Gradle
compile "com.microsoft.sqlserver:mssql-jdbc:6.4.0.jre7"