Home > Database > Mysql Tutorial > MySQL掌握密码有效性验证失败的处理方法_MySQL

MySQL掌握密码有效性验证失败的处理方法_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:49:51
Original
1020 people have browsed it

bitsCN.com    用windows账号登录成功后,右键实例,在"属性"窗口中, 转到"Security"(安全性)项, 查看"服务器身份验证"中设置确为"SQL Server和Windows身份验证模式",然后执行下面的语句启用sa用户, 同时更改sa的密码:
 EXEC sp_password 'sa',null,'sa'
ALTER LOGIN sa ENABLE
结果执行出错:
消息 15116,级别 16,状态 1,第 1 行
密码有效性验证失败。该密码太短,不符合 Windows 策略要求。
解决思路:
本地设置可能被域设置覆盖。而域设置中指定了安全策略,密码必须有一定的复杂性。 需要重新更改sa密码:
 EXEC sp_password 'sa','Uiop_098Mn','sa'
ALTER LOGIN sa ENABLEbitsCN.com

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Can Windows be learned?
From 1970-01-01 08:00:00
0
0
0
Install PHP in windows environment
From 1970-01-01 08:00:00
0
0
0
zookeeper extension under windows
From 1970-01-01 08:00:00
0
0
0
Can I play vim happily on Windows?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template