SQL Server Connect to SQL Express After Changing Computer Name and User Name

q3qa4bjr  于 2023-04-19  发布在  其他
关注(0)|答案(2)|浏览(114)

I have been running SQL Express on my local machine as part of a development environment for web development, but due to corporate requirements, recently had to change the computer name to join the new company domain. I also had to change my login/username as part of this process.

Because of this, I am no longer able to connect to my SQL Express instance, which i need to continue development. How can I migrate the existing SQL instance, which I connected to via Windows Authentication?

rta7y2nd

rta7y2nd1#

Let SQL Server engine works with Local System Account

as next:-

  • Press Window Button + R .
  • Type services.msc , then click Ok .
  • Select SQL Server Service , then choose properties .

  • Go to second tab Log On , then check Local System Account

Hope it helps.

k3bvogb1

k3bvogb12#

Please try .\SQLEXPRESS instead of YourComputerName\SQLEXPRESS in server name.

相关问题