Error screenshot:
Cause:In most cases, you have modified the login password of the server system, and the SQL service cannot be started.
Solution: change the SQL server (mssql server) service logon password to the system logon password or local logon. Follow these steps:
On the windows console, choose "administrative tools"> "services"> "SQL Server"> "properties"> "logon"> "password"> "change to your new operating system password.
Or
In windows Control Panel, choose Administrative Tools> Services> MSSQLSERVER> Properties> logon to a local system account.
In addition to the above solution, we can solve some problems and handle the problems for the administrator user.
1.
My computer -- control panel -- administrative tools -- service -- right-click MSSQLSERVER -- properties -- login identity -- select "local system account"
Or:
2.
My computer -- control panel -- administrative tools -- service -- right-click MSSQLSERVER -- properties -- login identity -- select "this account" -- enter your modified administrator password in the password and confirm password.
Differences between the two:
Select the first method. The administrator password will be changed later. You do not need to adjust the password (but the system administrator is required to log on to the operating system)
Select the second method, modify the administrator password later, and repeat the above operations