Configure the authentication mode of SQL Server

By default, if the mixed mode is not enabled during installation, and only the window authentication mode can log in to SQL, how can we create our own account and log in to SQL in the mixed mode.

1、 If you are a newly installed SQL server, you can log in in Windows mode
 How to change the SQL Server login authentication method (SQL2012 example)

2、 Right click the database. Select the last attribute (as shown in the figure below)
 How to change the SQL Server login authentication method (SQL2012 example)

3、 Set mixed login mode (as shown below)
 How to change the SQL Server login authentication method (SQL2012 example)

4、 Create a personal login account and activate the sa account. Click Security - Login - sa - Attribute (as shown in the following figure)
 How to change the SQL Server login authentication method (SQL2012 example)

5、 Set the enabling and password settings as shown below.
 How to change the SQL Server login authentication method (SQL2012 example)
 How to change the SQL Server login authentication method (SQL2012 example)

6、 Restart the server to take effect.
 How to change the SQL Server login authentication method (SQL2012 example)

7、 Adding an individual account is always set like activating an sa account. Security - login name - right click New.
 How to change the SQL Server login authentication method (SQL2012 example)

8、 Then exit and use mixed login. Setting is successful when login is successful.
 How to change the SQL Server login authentication method (SQL2012 example)