无法再连接到 SQL Server Express
我认为我犯了一个错误,并且失去了与 SQL Server Express 的连接。
在 SQL Server Management Studio 的安全性下,我禁用了登录选项。
现在,当我尝试连接到服务器时,我收到消息:
“无法连接到 HP16969\SQLEXPRESS”。附加 信息:用户登录失败 'HP16969\Bernard(微软 SQL 服务器,错误:18456)
有什么方法可以纠正我之前的错误吗?
谢谢,
我真的已经尝试了一切,但无法再连接到 SQLEXPRESS。仅仅因为我将登录状态更改为“已禁用”,我似乎无法重新连接。那是愚蠢的!
我按照包括 -m 在内的说明进行操作;在参数列表中没有任何成功。 我想使用的最后一个选项是重新安装 Server EXPRESS。在阅读了网上的许多文章后,我害怕遇到问题......
I think I made a mistake and I lost my connection to my SQL Server Express.
In SQL Server Management Studio under security I disabled the login option.
Now when I try to connect to the Server I get the message :
"Cannot connect to
HP16969\SQLEXPRESS". Additional
informations : Login failed for user
'HP16969\Bernard (Microsoft SQL
Server, error : 18456)
Is there a way I can correct my earlier mistake ?
Thanks
I really have tried everything but can't connect anymore to SQLEXPRESS. Just because I change The login status to Disabled there seems to be no way for me to reconnect. That is silly!!
I followed the instructions including -m; in the parameter list without any success.
The last option I would like to use is to reinstall Server EXPRESS .After reading many articles on the net I am scared to run into problems...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用具有访问权限的登录名进行连接,并再次授予自己访问权限。
如果您没有任何有权访问的登录名,则需要在管理模式下重新启动服务器并使用本地管理员帐户来启用帐户“HP16969\Bernard”。请参阅疑难解答:系统管理员被锁定时连接到 SQL Server。
You need to connect using a login that has access and grant yourself again access back.
If you don't have any login that has access, then you need to restart the server in administrative mode and use a local administrator account to enable back the account 'HP16969\Bernard'. See Troubleshooting: Connecting to SQL Server When System Administrators Are Locked Out.