Database - How to create a SQL Server user authentication

1 Introduction

After the default installation of SQL Server database, SQL Server uses "Windows Authentication" log via Tools SQL Server Management Studio (SSMS), you need to set the user can order "SQL Server Authentication" log.

2. Method /

1. After the "Windows Authentication" log on, right on the login name "sa" account, and then click "Properties" to open the "Properties" dialog box, as shown below:

2. In the "General" Tab area "Properties" dialog, change passwords, remove the "truth force password policy" check, as shown below:

 

3. In the "Properties" dialog "Status" Tab area, the login state "Enable", "OK", as shown below:

 

 

4. Right-server connection, "Server Properties" dialog box, click on the "Properties" appears, select SQL Server and Windows Authentication mode, click on the "OK" button, as shown below:

 

 

 

 

5. Close SSMS, by Services.msc open dialog server, corresponding to restart a Windows service, as shown below:

 

 

 

 

6. Click "Windows Start menu" click "filter configuration", as shown below:

 

 

 

7. In Configuration Manager, click the "SQL Server Network Configuration" to enable "Named Pipes" protocol, as shown below:

 

 

8. Open SQL Server Management Studio (SSMS), click on the link, select "Database Engine" to open the "connect to database" dialog box, authentication method "SQL Server Authentication", enter the sa account and password differ, you can log in, As shown below:

 

 

Guess you like

Origin www.cnblogs.com/mayi0312/p/11578567.html