-
Please use MySQL/PostgreSQL instead. We may drop SQL Server support in future versions due to unable to test against with production SQL server (currently only test with express edition)
-
Thank you for prompt reply.
That's what we did. MySQL works fine.
Kind regards, Łukasz
-
Previous Value Current Value Open
Closed
-
Answered.
| Type |
Question
|
| Priority |
Normal
|
| Assignee |
Not assigned
|
| Labels |
No labels
|
Issue Votes (0)
Is connecting to a SQL server named instance supported ?
I'm trying the following connection strings, but I'm getting exception in both cases;
hibernate.connection.url=jdbc:sqlserver://localhost\\SQLSERVER2019DEV;databaseName=OneDev 17:06:13 WARN io.onedev.server.ServerConfig - Connection failed (host: localhost\SQLSERVER2019DEV, port: 1433) java.net.UnknownHostException: localhost\SQLSERVER2019DEV
hibernate.connection.url=jdbc:sqlserver://localhost;instanceName=SQLSERVER2019DEV;databaseName=OneDev 2024-06-19 17:04:44,464 WARN [WrapperSimpleAppMain] io.onedev.server.ServerConfig Connection failed (host: localhost, port: 1433) java.net.ConnectException: Connection refused: connect
Is that supported and if so where am I going wrong?
Thank you in advance. Lukasz