"The connection to the server was successfully established, but an error occurred during the login process" solution

For the above-mentioned problems, I have also been tortured a lot.

I found many methods on the Internet, many of which are used by everyone!

Don't re-register a new one easily, otherwise it may take time to delete it later.

First of all, we will see the error message that the connection is successful but the login fails.

 Depending on the computer, it may vary. But the general content is as above.

method one:

In the menu search to open Computer Management , check the following:

Check the network configuration of sql server first , check the tcp/ip in it , if it is disabled, open it first.

 After that it will show:

Leave it alone, fork or make sure. 

Here is a little knowledge to share, switch the English input method, click directly on the first letter of the service you are looking for, and you will jump there directly.

Next, check Services and make sure that almost all of the startup types starting with SQL show Automatic .

 By the way, SQL Server (MSSQLSERVER) should be opened last, and the Browser is generally the one to be operated. Restarting SQL Server (MSSQLSERVER) will restart others together, including the previous network configuration.

Of course, if you downloaded MySQL, it is best to see if it is started.

After that you can reboot.

However, doing all of the above may not necessarily work. You can try several times.

Method Two:

Directly open sqlserver, connect, switch to sqlserver authentication , enter your account and password for MySQL login , click login, it may fail.

But it’s okay, go back and log in to the machine, that is, windows authentication , and then log in, I often succeed like this. This is a crude method and may not work.

I hope my suggestions are helpful to you. Your likes and collections are a great motivation for my creation.

Guess you like

Origin blog.csdn.net/m0_64206989/article/details/129955380