-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL Server: Determine port of named instance using SQL Server Browser #326
Comments
Have you tried leaving the port variable empty? |
Yes, I tried to comment out the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using MS SQL Server with a named instance as database server, connecting via port
1433
does not work, because named instances run on different ports. By default, these run on random high ports that change everytime the database engine is restarted.Using Redmine with SQL Server and named instances currently requires to set the port of a SQL Server instance to a fixed value via SQL Server configuration, because Redmine requires this port to connect to the database server.
The SQL Server provides the
SQL Server Browser
service that will return the actual port an instance is running on. Would it be possible to configure Redmine/Ruby in a way that it uses the Server Browser to determine the actual SQL Server port and use that for database connection attempts?The text was updated successfully, but these errors were encountered: