加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

无法连接到SQL Server – 登录失败[已关闭]

发布时间:2020-12-12 08:38:35 所属栏目:MsSql教程 来源:网络整理
导读:我试图连接到SQL Server 2008,但我收到这个错误: Login failed for user “xyz” because the account is currently locked out.The system administrator can unlock it. (Microsoft SQL Server, Error 18486) 请检查图像. 解决方法 SQL server has local p
我试图连接到SQL Server 2008,但我收到这个错误:

Login failed for user “xyz” because the account is currently locked
out.The system administrator can unlock it. (Microsoft SQL Server,
Error 18486)

请检查图像.

解决方法

SQL server has local password policies. If policy is enabled which
locks down the account after X number of failed attempts then the
account is automatically locked down.This error with ‘sa’ account is
very common. sa is default administartor login available with SQL
server. So there are chances that an ousider has tried to bruteforce
your system. (This can cause even if a legitimate tries to access the
account with wrong password.Sometimes a user would have changed the
password without informing others.)

如果您知道另一个管理员帐户,您可以使用此查询解锁它,

ALTER LOGIN sa WITH PASSWORD='password' UNLOCK

Read more on this link.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读