SQL Server Windows authentication changed to Mixed Mode authentication

Source: Internet
Author: User
Tags mixed mssqlserver

As needed, change SQL2008 single Windows authentication to mixed-mode authentication. Make a memo here.

Steps:

1. Enter SQL2008 with Windows authentication, and in Object Explorer, right-click the root directory:

Select Properties in the right-click menu:

Select "Security", then tick "SQL Server and Windows Authentication mode" and click "OK".

Here you can disconnect from the connection and log in using SQL Server authentication mode.

Because the SA is not enabled by default, if you enable the SA account login, you will also need the following settings:

2. Go back to Object Explorer, expand Security, expand logins to see the login SA, right-click SA, and select Properties:

Pop:

Select "Status", on the right of the login select "Enable", OK.

This allows you to log in with SA and the password is empty by default

3, to repair the sa password, you can do the following actions:

Select the SA "Properties":

Select "General" to enter a new password at the password.

4, if you can not log in, do the following attempts:

Open SQL Server Configuration Manager and then expand SQL Server Network configuration and then click MSSQLSERVER protocol to enable the TCP/IP protocol on the right:

Then, in the SQL Server service:

Restart the MSSQLServer service.

SQL Server Windows authentication changed to Mixed Mode authentication

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.