1) First, enter the server with Windows authentication.
2) Next Find security, click Enter, locate the login named SA, and then right-click Properties.
3) Locate the general in the attribute, then check your account and password, and change the status to Enabled in the State, otherwise the disabled state is not operational.
4) Next, click on the server right-click Properties, change the server authentication in security, then click OK and a re-enable will pop up. Then click on the server to right-click Re-enable. Then disconnect and re-login with SQL Server. Remember! Make sure to restart the server after the modification is confirmed, or else the same problem will persist until he displays "OK to restart SQL Server" and click "OK".
5) If it is still an error, it is possible that the Configuration Manager network configuration is not set. The named pips and TCP/IP in the network configuration are set to Enabled. Reopen SQL Server and try to connect again.
SQL Server cannot authenticate with SQL Server