[英]SQL Server 2016 Express edition and developer edition on same machine
I have installed SQL Server 2016 Express edition and Developer edition on the same machine, but when I use SSMS to login, and type 我已经在同一台计算机上安装了SQL Server 2016 Express版和Developer Edition,但是当我使用SSMS登录并键入
select @@version
only express edition is shown, why? 仅显示速成版,为什么?
SSMS login method SSMS登录方法
sql server configuration manager as follow: sql server配置管理器如下:
The two instances will have a separate instance name - and you can connect to only one at a time. 这两个实例将具有一个单独的实例名称 -您一次只能连接一个。
By default, the SQL Server Express will use SQLEXPRESS
as its instance name, while Developer edition will default to the unnamed instance. 默认情况下,SQL Server Express将使用
SQLEXPRESS
作为其实例名称,而Developer Edition将默认为未命名实例。
You can connect: 您可以连接:
(local)\\SQLEXPRESS
as your server/instance name (local)\\SQLEXPRESS
作为服务器/实例名称访问SQL Server Express (local)
as your server/instance name (local)
作为服务器/实例名称访问SQL Server Developer Both should be available - and again, those are the default instance names - you may have changed those to something else during installation, and in that case, you have to use those values you used, of course. 两者都应该可用-并且再次是默认实例名称-您可能在安装过程中将它们更改为其他名称,并且在这种情况下,当然必须使用所使用的那些值。
UPDATE: to find the instance names, go to your SQL Server Configuration Manager (from the start menu), and look at this screen: 更新:查找实例名称,转到SQL Server配置管理器(从“开始”菜单),然后查看以下屏幕:
Find the SQL Server
services that are running - in parenthesis behind the "SQL Server", you see the instance names - in my case SQL2014
and SQL2016
. 找到正在运行的
SQL Server
服务-在“ SQL Server”后面的括号中,您会看到实例名称-在我的例子中是SQL2014
和SQL2016
。 The MSSQLSERVER
is the default, unnamed instance that you can connect to using just (local)
(or your IP address) without specifying an instance name MSSQLSERVER
是默认的未命名实例,您可以仅使用(local)
(或IP地址)连接到该实例,而无需指定实例名称
Update #2: examining your screenshot, it seems like you're using the default instance names - none (unnamed default) instance - which is most likely your developer edition, and SQLEXPRESS
which is the default for SQL Express. 更新#2:检查屏幕快照,似乎您使用的是默认实例名称-无(未命名的默认)实例-很可能是您的开发人员版本,而
SQLEXPRESS
是SQL Express的默认实例。
So if you login to (local)
and run SELECT @@VERSION
- do you get the Developer edition? 因此,如果您登录到
(local)
并运行SELECT @@VERSION
您会获得Developer版本吗? And if you login to (local)\\SQLEXPRESS
and run SELECT @@VERSION
, do you get the Express edition?? 而且,如果您登录到
(local)\\SQLEXPRESS
并运行SELECT @@VERSION
,您会获得Express版本吗? You might replace (local)
with your IP address ... 您可以将
(local)
替换为您的IP地址...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.