SQL Server 2012:登录PC-NAME \SQLEXPRESS可以工作,但不能本地/(本地) [英] SQL Server 2012: Login to PC-NAME\SQLEXPRESS works, but not to local/(local)
本文介绍了SQL Server 2012:登录PC-NAME \SQLEXPRESS可以工作,但不能本地/(本地)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想以伺服器名称 local
或(local)
登入我的SQL Server 2012 Express,但它
I'd like to login to my SQL Server 2012 Express with servername local
or (local)
but it doesn't work.
工作的唯一服务器名称是 PC-Name\SQLEXPRESS
。
The only servername which works is PC-Name\SQLEXPRESS
.
local /(local)
必须以某种方式工作,因为我必须使用以下连接字符串:
local/(local)
has to work somehow because I have to use the following connection string:
Data Source=localhost;Initial Catalog=...
推荐答案
我已经重新安装它,并确保在安装过程中选择默认实例而不是命名实例。现在一切都很好了。
I've reinstalled it and ensures to select "default instance" instead of "named instance" during the installation. Now everything is fine again.
这篇关于SQL Server 2012:登录PC-NAME \SQLEXPRESS可以工作,但不能本地/(本地)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文