MySQL master password validation failure processing method

Source: Internet
Author: User
Tags mysql domain
After successful login with Windows account, right-click instance, in the Properties window, go to the security item, view the settings in Server Authentication as "SQL Server and Windows Authentication Mode", and then execute the following statement to enable the SA user. Change the sa password at the same time:

       
       
        
        EXEC sp_password ' sa ', null, ' sa '
ALTER LOGIN sa ENABLE
       
       

result execution Error:

Message 15116, Level 16, State 1, line 1th

Password validation failed. The password is too short to meet Windows policy requirements.

Solution idea:

Local settings may be overridden by domain settings. The security policy is specified in the domain settings and the password must be somewhat complex. You need to change the sa password again:

       
       
        
        EXEC sp_password ' sa ', ' uiop_098mn ', ' sa '
ALTER LOGIN sa ENABLE
       
       


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.