Problems and solutions of 18456 and 18470 that occur when logging in with the authentication mode of sql server of sql server

After we install the sql server database, errors 18456 and 18470 often occur when logging in with the authentication mode of sql server, resulting in the inability to log in to the database normally, as shown below:





The solution to the above error is as follows:

1. Open SQL Server Management Studio, after logging in with Windows authentication, right-click the object explorer and the steps shown in the figure below will appear, select SQL Server and Windows authentication mode, and confirm.


2. Open SQL Server Management Studio, log in with Windows authentication, click Security according to the steps below, click the login name, select the account you need to log in, right-click to modify the password of the account in Properties, and then click Properties Status , tick the startup item in the startup bar, and then OK



   
   
   



3. The last step, don't forget to restart the service, you can click the drop-down menu of the right click of the object explorer and select restart, you can

The above is the 18456 and 18470 problems and solutions that occur when logging in in the authentication mode of sql server. I hope it will help you who encounter the above problems.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324858620&siteId=291194637