I donβt know the SA password, so I restarted the instance of the standard version of SQL Server 2008 in single user mode, hoping to change the SA password. Right after that I tried to connect to
sqlcmd -S serverName\ss2008
Msg 18461, Level 14, State 1, Server serverName \ SS2008, Line1 Login failed for user 'serverName \ Administrator'. Reason: The server is in single user mode. Currently, only one administrator can connect.
My attempts to change the password immediately give
C: \ Documents and Settings \ Administrator> sqlcmd -U sa -zp @ssword Password: Msg 18470, level 14, state 1, server name serverName, line 1 Login failed for user 's'. Reason: account is disabled.
Is -m really for null user mode, or is something terrible with my server?
source share