SQL server authentication
When I installed sql server before, I used windows authentication. I
found that there is no related tutorial for linking the database.
Using SQL server authentication tutorial
- First log in to the database with Windows identity.
2. Open authentication:
right-click on the server - properties - security - select [sql serve and windows authentication mode] option
Save OK
2. Modify the login information and password
under the server - security - login name - select sa - right-click properties -
1) change the password in the general panel
2) select the grant enable option in the status panel
4. Focus on restarting the server
Database - right click - restart - select sql server authentication - bingo
windows authenticationServer
=localhost;Initial Catalog=xxx;Trusted_Connection=yes;