mirror of
https://github.com/jlengrand/exposed-wiki.git
synced 2026-03-10 08:11:18 +00:00
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:
committed by
Andrey.Tarashevskiy
parent
9df6ee8f5e
commit
a774285d8b
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user