No Login for SQL Server but I am Local Admin -


i local admin on machine. same old thing, account wasnt added when sql server installed, , don't want have reinstall sql server. went through blog , worked until tried log , run commands via sqlcmd or ssms. got error message

"login failed user '/'. reason: server in single user mode. 1 administrator can connect @ time.."

i found blog , added application name after m switch http://sqlserver-help.com/2013/12/06/help-how-to-fix-error-reason-server-is-in-single-user-mode-only-one-administrator-can-connect-at-this-time/. no dice, still above error. user account looks fine guess, administrator.

also, had start cmd prompt admin start sqlserver in single user mode. or else couldnt have access log files instance using , giving me error that. ran cmd prompt admin. still, same admin trying run sqlcmd or ssms. shoudlnt telling me there admin logged in, because admin. missing?

this on sqlexpress, dunno if matters

thanks!

first login server: "sqlcmd –a –d master" . connect master database dac because master guaranteed available if instance of database engine started.

shut down database server , restart minimal configuration:

sqlservr.exe -f -s <instancename> 

if works fine, have problem startup configurations , need find out causing issues.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -