SQL Server Windows authentication changed to Mixed Mode authentication
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