Wednesday, February 27, 2013

how to unlock the lockedout login

you might come across 

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


use the below query to resolve the issue 


ALTER LOGIN TEST  WITH PASSWORD = 'ABCDE!##'  UNLOCK

















Thanks

No comments:

Post a Comment

https://blog.sqlauthority.com/2009/06/27/sql-server-fix-error-17892-logon-failed-for-login-due-to-trigger-execution-changed-database-context...