-
Notifications
You must be signed in to change notification settings - Fork 755
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
How to put instance name #515
Comments
There is no concept of a named instance. Every container can have a unique name. See Getting started with SQL Sever on Linux container images |
Containers don't have a concept of running multiple SQL Server instances. So there is no option of running more than one instance name. Could you please share the scenario that you are trying to achieve in a container? |
yes that's true, containers can only run one sql server instance, but in my work the database production server has 3 personalized instances, for example we have sql server enterprise licensed I want to configure 3 containers each one with a personalized instance and 1 container with the default instance name |
actually we are migrating from a conventional services configuration to kubernetes |
You can configure each instance inside container listening on different port. |
Hi,we want hold on aliases because all systems having the aliases in connections strings and we won't modify all systems, How can I make client alias in the container?? |
Well, client alias needs to be created on clients not inside containers. There is no need to change connection string. Lets say you create 3 containers on 192.168.1.10 listening on port 2433, 3433 and 4433. On client, you would create alias where "192.168.1.10\rrhh" would map to 192.168.1.10. port 2433 and so on. |
Is it possible toncreate client aliases in Linux machines? Most of the solutions I have seen is using SQL Server's GUI client, but this won't available in Linux. A lot of apps are deployed on Docker/Linux these days, so a solution world help. I think this is solution is better than changing the connection strings. Sorry for posting in this old thread. This is the one of the top results that came up when I searched for client aliases in Linux. |
"On client, you would create alias" How? What kind of alias? |
Hello everyone, I'm having the same issue. Since I have a local installation of Sql server on my host, I was wondering if I could have a container running on the default port(1433) and a different instance name. |
I want to put instance name for my sql server for example
192.168.1.10\rh
192.168.1.10\finance
192.168.1.10\users
The text was updated successfully, but these errors were encountered: