Sa account creating using single user mode

Anandhswarupp 205 Reputation points
2025-03-29T09:56:22.53+00:00

Screenshot_2025-03-29-13-52-45-66_96b26121e545231a3c569311a54cda96

This our production server i setup the server in single user mode and creating sa account using sql query in cmd mentioned above image but facing mentioned issue, But in test server i am able to create sa account using above sql command,

SQL Server Database Engine
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 47,586 Reputation points
    2025-03-31T06:59:40.5466667+00:00

    "Localhost" as server name is may good for web server, but not for SQL Server.

    Enter the realy server name.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.