SQL Server 2005 帐户锁定(用户:sa)和连接限制
我们很多人在工作中同时使用用户:sa 帐户来做事。然后突然我们被锁在门外了。
为什么我们被锁在门外?然后它自行修复(我们确实关闭了一些连接)。为什么会发生这种情况?
另外,如何找出连接用户的数量?
A bunch of us at work use the user: sa account concurrently to do stuff. Then all of a sudden we got locked out.
Why did we get locked out? And then it fixed itselft (we did close some connections). Why did this happen?
Also, how do you find out the number of connected users?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能有人尝试使用错误的密码登录。
服务器可以设置为在 3 次失败尝试后锁定帐户 X 分钟。
编辑:
我们仍然处于石器时代(SQL Server 2000),我承认我没有花太多时间来做这件事。我总是就这些问题联系我们的系统管理员 (SA)。
您可能会更幸运地在服务器故障上询问此类问题。
锁定也可能位于网络中(服务器外部)的用户帐户上。要解锁 Active Directory 上的用户帐户,我使用 SA 交给我的工具:
Could be someone is trying to log in with the wrong password.
The server could be set to lock the account for X-minutes after 3 failed attempts.
EDIT:
We are still in the stone ages here (SQL Server 2000), and I confess that I do not spend much time doing this. I always contact our System Administrator (SA) about these issues.
You may have better luck asking about things such as this on Server Fault.
The lock could also be on the user account in your network (outside of the Server). To unlock user accounts on our Active Directory, I use a tool our SA handed to me: