The problem is the following mssql server property:
If both a portNumber and instanceName are used, the portNumber will take precedence and the instanceName will be ignored.
I tried to connect to it providing a clojure map db-spec, which didn't work, because the default port is always added. Solution was to create the connection string myself.
This is probably out of scope for this lib, but maybe we should add this to the docs.
I had to connect to a mssql server using a Domain (instanceName) e.g. as described here:
jdbc:sqlserver://[serverName[\instanceName][:portNumber]][;property=value[;property=value]]
docsThe problem is the following mssql server property:
I tried to connect to it providing a clojure map
db-spec
, which didn't work, because the default port is always added. Solution was to create the connection string myself.This is probably out of scope for this lib, but maybe we should add this to the docs.
Context: https://stackoverflow.com/questions/40820087/jdbc-connection-string-with-instance-name-and-domain