An error is reported at the last moment of installing SQL Server: is not a valid login or you do not have permission

1- Problem description

The installation has reached the last step, and the installation is about to be completed, but suddenly an error is reported. The screenshot of the error report is as follows:

insert image description here

2- The reason for the error

Installing so many databases, this is the first time I encountered this kind of problem, so I started to search online. The reason for the error is this: the
computer name set is the same as the system administrator account name

For example, the name of the computer system administrator is: xiaoming
The computer name set in the system properties: xiaoming
These two names are exactly the same, which will cause the above error

3- Solutions

[Computer] Right click – [Properties], modify the computer name.
After the modification is completed, restart the computer.
Uninstall the SQL file just installed and reinstall it again.

Guess you like

Origin blog.csdn.net/qq_33999977/article/details/126015112