What's a MS SQL "named instance" ?

0

Customer asked in a RFP the ability to use named instances with RDS for Microsoft SQL Server. It probably sound obvious to specialists, is this the DB Instance identifier we pass at the RDS creation phase ?

专家
已提问 3 年前685 查看次数
1 回答
0
已接受的回答

When installing SQL Server on Windows Server (like on EC2) you have the option to "name" the service running the SQL Server Database Engine. You can install multiple copies of SQL Server Database Engine side-by-side by providing different names. This is often used in clusters to optimize the use of hardware. When connecting to SQL Server you need to then specify both the host name as well as the service name in the connection string, like

Server=myServerName\myInstanceName;Database=myDataBase;User Id=myUsername;Password=myPassword;

RDS does not provide this level of control and will always use the default service name internally. So you would have to connect using the just the hostname and database name, like

Server=myServerName;Database=myDataBase;User Id=myUsername;Password=myPassword;

AWS
已回答 3 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则